Re: [PATCH 01/13] Makefile: detect HOST_ARCH properly when CROSS_COMPILE is multi-word

2024-08-29 Thread Ilias Apalodimas
On Wed, 28 Aug 2024 at 15:10, Jerome Forissier wrote: > > When CROSS_COMPILE contains multiple words, HOST_ARCH is not properly > detected and the sandbox build fail. It typically happens when using > ccache. For example: > > $ make sandbox_defconfig > $ make CROSS_COMPILE="ccache x86_64-linux-g

[PATCH 01/13] Makefile: detect HOST_ARCH properly when CROSS_COMPILE is multi-word

2024-08-28 Thread Jerome Forissier
When CROSS_COMPILE contains multiple words, HOST_ARCH is not properly detected and the sandbox build fail. It typically happens when using ccache. For example: $ make sandbox_defconfig $ make CROSS_COMPILE="ccache x86_64-linux-gnu-" \ CC="ccache x86_64-linux-gnu-gcc" [...] In file incl