From f513a8a7eb9fd3ec28bfcb773ace28d49b61c0e7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Feb 2010 13:57:46 +0100 Subject: better TARGET matching --- mk/build.mk | 4 ++-- 1 file 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 \ -- cgit v1.2.3