Re: [PATCH] Makefile: fix empty MK_ARCH when using ccache

2024-11-14 Thread Tom Rini
On Mon, 11 Nov 2024 14:20:49 +0100, Quentin Schulz wrote: > One can use ccache by prefixing the typical CROSS_COMPILE value with > "ccache " (e.g. "ccache aarch64-gnu-linux-" for Aarch64). This however > makes the MK_ARCH empty because sed won't find a match anymore since it > expects the CROSS_CO

Re: [PATCH] Makefile: fix empty MK_ARCH when using ccache

2024-11-11 Thread Tom Rini
On Mon, Nov 11, 2024 at 03:43:27PM +0100, Quentin Schulz wrote: > Hi Heinrich, > > On 11/11/24 3:27 PM, Heinrich Schuchardt wrote: > > Am 11. November 2024 14:20:49 MEZ schrieb Quentin Schulz > > : > > > From: Quentin Schulz > > > > > > One can use ccache by prefixing the typical CROSS_COMPILE

Re: [PATCH] Makefile: fix empty MK_ARCH when using ccache

2024-11-11 Thread Quentin Schulz
Hi Heinrich, On 11/11/24 3:27 PM, Heinrich Schuchardt wrote: Am 11. November 2024 14:20:49 MEZ schrieb Quentin Schulz : From: Quentin Schulz One can use ccache by prefixing the typical CROSS_COMPILE value with "ccache " (e.g. "ccache aarch64-gnu-linux-" for Aarch64). This however makes the MK

Re: [PATCH] Makefile: fix empty MK_ARCH when using ccache

2024-11-11 Thread Heinrich Schuchardt
Am 11. November 2024 14:20:49 MEZ schrieb Quentin Schulz : >From: Quentin Schulz > >One can use ccache by prefixing the typical CROSS_COMPILE value with >"ccache " (e.g. "ccache aarch64-gnu-linux-" for Aarch64). This however >makes the MK_ARCH empty because sed won't find a match anymore since it

[PATCH] Makefile: fix empty MK_ARCH when using ccache

2024-11-11 Thread Quentin Schulz
From: Quentin Schulz One can use ccache by prefixing the typical CROSS_COMPILE value with "ccache " (e.g. "ccache aarch64-gnu-linux-" for Aarch64). This however makes the MK_ARCH empty because sed won't find a match anymore since it expects the CROSS_COMPILE value to start with the actual toolcha