summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/build.mk2
-rw-r--r--target/linux/config/Config.in.kernel2
2 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index f386468f0..884264b38 100644
--- a/mk/build.mk
+++ b/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; \
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 650bc8729..ead74cc7e 100644
--- a/target/linux/config/Config.in.kernel
+++ b/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