From: Stefan Weil Date: Thu, 19 Nov 2009 19:19:56 +0000 (+0100) Subject: Fix build for mingw32 on windows ($$ expansion) X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~6535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a88c7432e72119057e6cff4c688c9ba9a9d5961;p=sdk%2Femulator%2Fqemu.git Fix build for mingw32 on windows ($$ expansion) Make using mingw32 on windows fails when running grep "=y$$". The command is expanded to grep "=y$ and the missing " results in an error. I don't expect a file config-devices.mak with =y somewhere in the middle of a line (they are always at the end of the line), so simplifying the regular expression to =y seems to be permitted. This avoids problems with wrong expansion. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- diff --git a/Makefile b/Makefile index b8b5e2e934..85ad68846b 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) config-all-devices.mak: $(SUBDIR_DEVICES_MAK) - $(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep "=y$$" | sort -u > $@," GEN $@") + $(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep =y | sort -u > $@," GEN $@") %/config-devices.mak: default-configs/%.mak $(call quiet-command,cat $< > $@.tmp, " GEN $@")