summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-17 18:29:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-17 18:31:42 +0200
commit330b4945e17c8c1cc0382316d0fb1d65e4093dac (patch)
treeedd8c6f1e9a883d0b1960dc5ffa14749368b44f6 /mk
parent882e048b442338c199b9469ca87569def6ec7ba4 (diff)
fix defconfig generation
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 9813db404..c07360d9b 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -420,7 +420,7 @@ defconfig: .menu $(CONFIG)/conf
fi
@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
grep "^config" target/config/Config.in.arch.choice \
- |grep -i "_$(ADK_TARGET_ARCH)$$" \
+ |grep -i "$(ADK_TARGET_OS)_ARCH_$(ADK_TARGET_ARCH)$$" \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(ADK_TOPDIR)/.defconfig; \
fi