]> Git Repo - linux.git/commit
x86/build: Don't pass in -D__KERNEL__ multiple times
authorCao jin <[email protected]>
Fri, 16 Mar 2018 08:49:44 +0000 (16:49 +0800)
committerIngo Molnar <[email protected]>
Sat, 31 Mar 2018 06:02:07 +0000 (08:02 +0200)
commitd6289f36aa7d5893d091a7a0c67eee7798719f03
tree7738e6278dfad826cfee14bf9912037939eddddc
parentd0266046ad54e0c964941364cd82a0d0478ce286
x86/build: Don't pass in -D__KERNEL__ multiple times

Some .<target>.cmd files under arch/x86 are showing two instances of
-D__KERNEL__, like arch/x86/boot/ and arch/x86/realmode/rm/.

__KERNEL__ is already defined in KBUILD_CPPFLAGS in the top Makefile,
so it can be dropped safely.

Signed-off-by: Cao jin <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/Makefile
arch/x86/boot/compressed/Makefile
This page took 0.053403 seconds and 4 git commands to generate.