OSDN Git Service

Made it possible to make utils when $(CROSS) or $(CC) contain spaces.
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Sun, 16 Jan 2005 09:49:14 +0000 (09:49 -0000)
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Sun, 16 Jan 2005 09:49:14 +0000 (09:49 -0000)
Makefile

index 2b2dd84..f02b133 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -243,14 +243,14 @@ endif
 .PHONY: utils
 ifeq ($(strip $(HAVE_SHARED)),y)
 utils:
-       $(MAKE) CROSS=$(CROSS) CC=$(CC) -C utils
+       $(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils
 else
 utils: dummy
 endif
 
 # Installs helper applications, such as 'ldd' and 'ldconfig'
 install_utils: utils
-       $(MAKE) CROSS=$(CROSS) CC=$(CC) -C utils install
+       $(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils install
 #ifeq ($(strip $(UCLIBC_HAS_LOCALE)),y)
 #      @$(MAKE) -C libc/misc/wchar iconv.target
 #      $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)/usr/bin;