diff options
author | Arnd Bergmann <[email protected]> | 2024-11-07 22:26:46 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-11-15 11:59:55 +1100 |
commit | a5371018eefdd81f4152926a6d2b9480a75ac2a6 (patch) | |
tree | ba1069ca06279e78e8734e311a8a5341860d3418 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 4aa5cc1e0012f784bc7f637458e597564833b425 (diff) |
powerpc/Makefile: Allow overriding CPP
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.
Reported-by: Arnd Bergmann <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
[mpe: Rebase, write change log, add Arnd's SoB as communicated privately]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions