Explorar el Código

fix sh big endian, fix x86_64 x32 packaging

Waldemar Brodkorb hace 10 años
padre
commit
be82bbb434
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 1 1
      mk/build.mk
  2. 2 0
      target/linux/config/Config.in.kernel

+ 1 - 1
mk/build.mk

@@ -512,7 +512,7 @@ test-framework:
 				$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
 				tabi=$$(grep ^ADK_TARGET_ABI= .config|cut -d \" -f 2);\
 				if [ -z $$tabi ];then abi="";else abi=_$$tabi;fi; \
-				qarch=$$(echo $$arch|sed -e "s#armhf#arm#" -e 's#mips64n.*$$#mips64#' -e 's#mips64eln.*$$#mips64el#'); \
+				qarch=$$(echo $$arch|sed -e "s#armhf#arm#" -e 's#mips64n.*$$#mips64#' -e 's#mips64eln.*$$#mips64el#' -e "s#x86_64.*#x86_64#"); \
 				cp -a root_qemu_$${qarch}_$${libc}$${abi} root; \
 				mkdir -p $(TOPDIR)/firmware/qemu/$$arch; \
 				tar cJvf $(TOPDIR)/firmware/qemu/$$arch/root.tar.xz root; \

+ 2 - 0
target/linux/config/Config.in.kernel

@@ -128,7 +128,9 @@ config ADK_KERNEL_AEABI
 
 # endianess
 config ADK_KERNEL_CPU_BIG_ENDIAN
+	default y if ADK_big
 	boolean
 
 config ADK_KERNEL_CPU_LITTLE_ENDIAN
+	default y if ADK_little
 	boolean