From e9378d9f1ee27d19a3652e6ecdc4611a976a77b9 Mon Sep 17 00:00:00 2001 From: "Shawn J. Goff" Date: Mon, 30 Jan 2012 10:42:29 -0500 Subject: 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 --- docs/buildroot.html | 2 +- docs/manual/adding-packages-gentargets.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/buildroot.html b/docs/buildroot.html index 0c1cddfff..ddfb20a74 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 b34449464..92fce2ca4 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 -- cgit v1.2.3