m68k: Pass -D options to KBUILD_CPPFLAGS instead of KBUILD_{A,C}FLAGS
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 26 May 2020 12:38:10 +0000 (21:38 +0900)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Jul 2020 09:39:13 +0000 (11:39 +0200)
commit40b13fd7fd6e1ec295230cc114c6c9309e15784a
tree8b0fd3e7d9b6adf73f5214d5b1901307ce8ce21f
parent2367b0264294a50cd2cd9d4c1270a9393f32038c
m68k: Pass -D options to KBUILD_CPPFLAGS instead of KBUILD_{A,C}FLAGS

Precisely, -D is a preprocessor option.

KBUILD_CPPFLAGS is passed for compiling .c and .S files too.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/r/20200526123810.301667-4-masahiroy@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/Makefile