summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn J. Goff <shawn7400@gmail.com>2012-01-30 15:42:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-01-31 09:39:21 (GMT)
commite9378d9f1ee27d19a3652e6ecdc4611a976a77b9 (patch)
treec6d3f256cac2f42699d005a25552140dd27a35b3
parentcae6aa9a41d1a3ffe3fa437b05c3000624a4ef65 (diff)
downloadbuildroot-e9378d9f1ee27d19a3652e6ecdc4611a976a77b9.tar.gz
buildroot-e9378d9f1ee27d19a3652e6ecdc4611a976a77b9.tar.bz2
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 <shawn7400@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--docs/buildroot.html2
-rw-r--r--docs/manual/adding-packages-gentargets.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index 0c1cddf..ddfb20a 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -905,7 +905,7 @@ source "package/libfoo/Config.in"
<span style="color: #000000">10:</span><span style="color: #009900"> LIBFOO_DEPENDENCIES</span> = host-libaaa libbbb
<span style="color: #000000">11:</span>
<span style="color: #000000">12:</span> define LIBFOO_BUILD_CMDS
-<span style="color: #000000">13:</span> <span style="color: #009900">$(MAKE)</span> CC=<span style="color: #009900">$(TARGET_CC)</span> LD=<span style="color: #009900">$(TARGET_LD)</span> -C <span style="color: #009900">$(@D)</span> all
+<span style="color: #000000">13:</span> <span style="color: #009900">$(MAKE)</span> CC=<span style="color: #009900">"$(TARGET_CC)"</span> LD=<span style="color: #009900">"$(TARGET_LD)"</span> -C <span style="color: #009900">$(@D)</span> all
<span style="color: #000000">14:</span> endef
<span style="color: #000000">15:</span>
<span style="color: #000000">16:</span> define LIBFOO_INSTALL_STAGING_CMDS
diff --git a/docs/manual/adding-packages-gentargets.txt b/docs/manual/adding-packages-gentargets.txt
index b344494..92fce2c 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