summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-05 17:28:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-05 17:28:10 +0200
commitbc442421ee431d9b8976e2aa90615950eda5e1f6 (patch)
treec707a40a5b8ec2c1914f70ac8e05fa8cd00db8b4 /mk/build.mk
parentd3874163e45105e6650e9b72cc31b41a8cb0e6cc (diff)
fix usage of ADK_TARGET_ARCH
Diffstat (limited to 'mk/build.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 24dc4ccd2..5cd696b55 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -421,7 +421,7 @@ endif
fi
@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
grep "^config" target/config/Config.in.arch.choice \
- |grep -i "$(ADK_TARGET_ARCH)"\$$ \
+ |grep -i "$(ADK_TARGET_ARCH)$$" \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(ADK_TOPDIR)/.defconfig; \
fi