KBUILD_CPPFLAGS : Set in top-level Makefile EXTRA_CPPFLAGS : May be set in the kbuild makefile CPPFLAGS_$(@F) : Target specific flags. Note that the full filename is used in this 13 changes: 7 additions & 6 deletions 13 Makefile Original file line numberDiff line numberDiff line ...
kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS Browse files When preprocessing arch/*/kernel/vmlinux.lds.S, the target triple is not passed to $(CPP) because we add it only to KBUILD_{C,A}FLAGS. As a result, the linker script is preprocessed with predefined macros for the build ...