summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2018-03-16 16:49:44 +0800
committerIngo Molnar <mingo@kernel.org>2018-03-31 08:02:07 +0200
commitd6289f36aa7d5893d091a7a0c67eee7798719f03 (patch)
tree7738e6278dfad826cfee14bf9912037939eddddc /Makefile
parentd0266046ad54e0c964941364cd82a0d0478ce286 (diff)
downloadlinux-d6289f36aa7d5893d091a7a0c67eee7798719f03.tar.bz2
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 <caoj.fnst@cn.fujitsu.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michal Marek <michal.lkml@markovi.net> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kbuild@vger.kernel.org Link: http://lkml.kernel.org/r/20180316084944.3997-1-caoj.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions