From cc0a7fd6696991ba20f0d9ea5bb11221f47e9f73 Mon Sep 17 00:00:00 2001 From: Thomas Perrot Date: Thu, 3 Feb 2022 09:54:43 +0100 Subject: imx-atf: add mark quotation to prevent build issue with ccache 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 --- recipes-bsp/imx-atf/imx-atf_2.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-bsp/imx-atf') diff --git a/recipes-bsp/imx-atf/imx-atf_2.4.bb b/recipes-bsp/imx-atf/imx-atf_2.4.bb index afb31698..eedcdc54 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.4.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.4.bb @@ -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 -- cgit v1.2.3-54-g00ecf