summaryrefslogtreecommitdiff
path: root/lib_arm/_divsi3.S
diff options
context:
space:
mode:
authorLevi Shafter <[email protected]>2026-04-17 16:45:09 -0600
committerTom Rini <[email protected]>2026-04-24 12:49:27 -0600
commit9f61fd5b80a43ae20ba115e3a2933d47d720ab82 (patch)
treecfb672f7fca53f996598c5fc689a1287fc982762 /lib_arm/_divsi3.S
parentc6faf583c4c2b237c42b7797794d00424248ea0d (diff)
Makefile: fix host CPP pollution in cmd_gen_envpHEADmaster
Commit 2956a84ba701 ("Makefile: don't use CFLAGS for environment text file") switched cmd_gen_envp to use $(cpp_flags) so that KCPPFLAGS would be honored when preprocessing the environment text file. However, cpp_flags also includes $(PLATFORM_CPPFLAGS), which carries architecture-specific flags such as -march=armv8-a+crc set by arch/arm/Makefile for CONFIG_ARM64_CRC32=y targets. These flags are appropriate for cross-compiled object files but cause the host CPP invocation to fail on x86 build machines: cc1: error: bad value ('armv8-a+crc') for '-march=' switch KBUILD_CPPFLAGS already accumulates the user-supplied KCPPFLAGS via "KBUILD_CPPFLAGS += $(KCPPFLAGS)", providing the behaviour 2956a84 intended without pulling in target architecture flags. Use it directly. Fixes: 2956a84ba701 ("Makefile: don't use CFLAGS for environment text file") Signed-off-by: Levi Shafter <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib_arm/_divsi3.S')
0 files changed, 0 insertions, 0 deletions