]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-atf: add mark quotation to prevent build issue with ccache 973/head
authorThomas Perrot <thomas.perrot@bootlin.com>
Thu, 3 Feb 2022 08:54:43 +0000 (09:54 +0100)
committerThomas Perrot <thomas.perrot@bootlin.com>
Fri, 4 Feb 2022 05:43:30 +0000 (06:43 +0100)
Otherwise, when ccache is enable the following issue occurs:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=aarch64-oe-linux- PLAT=imx8qx LD=aarch64-oe-linux-ld CC=ccache aarch64-oe-linux-gcc bl31
| make: *** No rule to make target 'aarch64-oe-linux-gcc'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
recipes-bsp/imx-atf/imx-atf_2.4.bb

index afb31698f709a77bb6b8c4ef4eb4c1c073ef203a..eedcdc542abd33150c5b7c36d5a694f02f158eb5 100644 (file)
@@ -43,9 +43,9 @@ def remove_options_tail (in_string):
     from itertools import takewhile
     return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
 
-EXTRA_OEMAKE += "LD=${@remove_options_tail(d.getVar('LD'))}"
+EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"'
 
-EXTRA_OEMAKE += "CC=${@remove_options_tail(d.getVar('CC'))}"
+EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
 
 do_compile() {
     # Clear LDFLAGS to avoid the option -Wl recognize issue