summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/build.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 0dcea0db6..5b71729b9 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -416,6 +416,12 @@ defconfig: .menu $(CONFIG)/conf
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(ADK_TOPDIR)/.defconfig; \
fi
+ @if [ ! -z "$(ADK_TARGET_BINFMT)" ];then \
+ grep "^config" target/config/Config.in.binfmt \
+ |grep -i "$(ADK_TARGET_BINFMT)$$" \
+ |sed -e "s#^config \(.*\)#\1=y#" \
+ >> $(ADK_TOPDIR)/.defconfig; \
+ fi
@if [ ! -z "$(ADK_TARGET_ENDIAN)" ];then \
grep "^config" target/config/Config.in.endian \
|grep -i "$(ADK_TARGET_ENDIAN)" \