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

2024-11-17 Thread Michael Ellerman
On Thu, 07 Nov 2024 22:26:46 +1100, Michael Ellerman wrote: > 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

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

2024-11-07 Thread Segher Boessenkool
On Thu, Nov 07, 2024 at 10:26:46PM +1100, Michael Ellerman wrote: > From: Arnd Bergmann > > 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

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

2024-11-07 Thread Nathan Chancellor
On Thu, Nov 07, 2024 at 10:26:46PM +1100, Michael Ellerman wrote: > From: Arnd Bergmann > > 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