From: Shawn J. Goff Date: Mon, 30 Jan 2012 15:42:29 +0000 (-0500) Subject: Documentation: quotes around TARGET_CC command. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9378d9f1ee27d19a3652e6ecdc4611a976a77b9;p=buildroot.git Documentation: quotes around TARGET_CC command. When ccache is enabled, TARGET_CC is "ccache gcc". Without quotes, when assigning CC=$(TARGET_CC), only "ccache" gets assigned to CC. Signed-off-by: Shawn J. Goff Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/docs/buildroot.html b/docs/buildroot.html index 0c1cddfff2..ddfb20a740 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -905,7 +905,7 @@ source "package/libfoo/Config.in" 10: LIBFOO_DEPENDENCIES = host-libaaa libbbb 11: 12: define LIBFOO_BUILD_CMDS -13: $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all +13: $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all 14: endef 15: 16: define LIBFOO_INSTALL_STAGING_CMDS diff --git a/docs/manual/adding-packages-gentargets.txt b/docs/manual/adding-packages-gentargets.txt index b344494648..92fce2ca47 100644 --- a/docs/manual/adding-packages-gentargets.txt +++ b/docs/manual/adding-packages-gentargets.txt @@ -24,7 +24,7 @@ system is based on hand-written Makefiles or shell scripts. 10: LIBFOO_DEPENDENCIES = host-libaaa libbbb 11: 12: define LIBFOO_BUILD_CMDS -13: $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all +13: $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all 14: endef 15: 16: define LIBFOO_INSTALL_STAGING_CMDS