summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-03 19:37:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-03 19:37:16 +0200
commite23746e37fa9f876eebdcd8cb37790c76fbb0a91 (patch)
tree6a36953b87275192f50bd8f65a6999d7f948e9f3 /mk/build.mk
parentf666087a422a4c84b26a666fa065344b26aa9667 (diff)
add support for bulk builds with different endianess
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index ac03c6881..29d5023d4 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -358,6 +358,12 @@ endif
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(ADK_TOPDIR)/.defconfig; \
fi
+ if [ ! -z "$(ADK_TARGET_ENDIAN)" ];then \
+ grep "^config" target/config/Config.in.endian.choice \
+ |grep -i "$(ADK_TARGET_ENDIAN)" \
+ |sed -e "s#^config \(.*\)#\1=y#" \
+ >> $(ADK_TOPDIR)/.defconfig; \
+ fi
@if [ ! -z "$(ADK_TARGET_COLLECTION)" ];then \
grep -h "^config" target/collections/* \
|grep -i "$(ADK_TARGET_COLLECTION)" \