summaryrefslogtreecommitdiffstats
path: root/arch/ppc/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-30 02:34:15 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-04 08:33:42 +0200
commit1de80355cfd4f49071ed06be1294be3cdd3829bf (patch)
tree07901eaa767a58dd941c4303d83e18aeeded46f1 /arch/ppc/Makefile
parent504687e7c63f138b3747fd07358ad2c3cdd1b2f5 (diff)
downloadbarebox-1de80355cfd4f49071ed06be1294be3cdd3829bf.tar.gz
barebox-1de80355cfd4f49071ed06be1294be3cdd3829bf.tar.xz
ppc: remove unneeded -D CONFIG_PPC
CONFIG_PPC is defined by arch/ppc/Kconfig. There is no need to define it explicitly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r--arch/ppc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index ed5c749cd3..998e00f867 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -1,7 +1,7 @@
KBUILD_DEFCONFIG := p2020rdb_defconfig
KBUILD_CPPFLAGS += -ffixed-r14 -m32 \
- -meabi -D __PPC__ -D CONFIG_PPC \
+ -meabi -D __PPC__ \
-fno-strict-aliasing
KBUILD_CPPFLAGS += $(call cc-option,-mno-spe)