summaryrefslogtreecommitdiffstats
path: root/boot/grub2
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-06 09:27:32 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-07 08:20:21 +0200
commita1c8fa41f6f6e5047182fe90656bcd30243bca8d (patch)
treecf1b67669365d0aabc1756fa5ffab71cbeaea571 /boot/grub2
parent08235f7144d08bc111b07d3523ac6439f6fd0b94 (diff)
downloadbuildroot-novena-a1c8fa41f6f6e5047182fe90656bcd30243bca8d.tar.gz
buildroot-novena-a1c8fa41f6f6e5047182fe90656bcd30243bca8d.zip
Update all packages to quote $(TARGET_CC)
Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/grub2')
-rw-r--r--boot/grub2/grub2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk
index 6c3bbefe3..f939d9a43 100644
--- a/boot/grub2/grub2.mk
+++ b/boot/grub2/grub2.mk
@@ -67,7 +67,7 @@ $(GRUB2_DIR)/.configured: $(GRUB2_DIR)/.unpacked
touch $@
$(GRUB2_DIR)/.compiled: $(GRUB2_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(@D)
+ $(MAKE) CC="$(TARGET_CC)" -C $(@D)
touch $@
$(GRUB2_DIR)/.installed: $(GRUB2_DIR)/.compiled
@@ -77,7 +77,7 @@ $(GRUB2_DIR)/.installed: $(GRUB2_DIR)/.compiled
grub2: host-automake host-autoconf $(GRUB2_DIR)/.installed
grub2-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GRUB2_DIR) uninstall
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC="$(TARGET_CC)" -C $(GRUB2_DIR) uninstall
-$(MAKE) -C $(GRUB2_DIR) clean
grub2-dirclean: