summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \