summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-13 13:57:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-13 13:57:46 +0100
commitf513a8a7eb9fd3ec28bfcb773ace28d49b61c0e7 (patch)
treee61f8a126e8ea09fd40e4c041c2ce2bbc4fe2050 /mk
parent612d4d6bcbac669ae057acbff1541929ed971cf9 (diff)
better TARGET matching
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 5b011a2c5..2c9230397 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -272,7 +272,7 @@ ifneq (,$(filter CYGWIN%,${OStype}))
endif
@if [ ! -z "$(TARGET)" ];then \
grep "^config" target/Config.in \
- |grep -i "$(TARGET)" \
+ |grep -i "$(TARGET)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/.defconfig; \
for symbol in ${DEFCONFIG}; do \
@@ -337,7 +337,7 @@ ifneq (,$(filter CYGWIN%,${OStype}))
endif
@if [ ! -z "$(TARGET)" ];then \
grep "^config" target/Config.in \
- |grep -i "$(TARGET)" \
+ |grep -i "$(TARGET)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/all.config; \
for symbol in ${DEFCONFIG}; do \