Thread (4 messages) 4 messages, 4 authors, 2024-11-17

Re: [PATCH] powerpc/Makefile: Allow overriding CPP

From: Segher Boessenkool <hidden>
Date: 2024-11-07 19:17:16

On Thu, Nov 07, 2024 at 10:26:46PM +1100, Michael Ellerman wrote:
From: Arnd Bergmann <arnd@arndb.de>

Unlike all other arches, powerpc doesn't allow the user to override CPP,
because it sets it unconditionally in the arch Makefile. This can lead
to strange build failures.

Instead add the required flags to KBUILD_CPPFLAGS, which are passed
to CPP, CC and AS invocations by the generic Makefile logic.
You can also use "CPP ?=" instead of "CPP =".  Your solution is better
I think, but, FYI, FFR :-)


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help