summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-05-11 10:40:14 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-12 07:45:04 +0200
commit6619b70e2935afc4b41dfe4a0c4ca7cfa76cfbdb (patch)
treecba4764aca95adb0d86ce25547aeb36d4566b9dc /arch/powerpc
parent5bf39f5f63492b36e676404e51cc69a4b2058dd7 (diff)
downloadbarebox-6619b70e2935afc4b41dfe4a0c4ca7cfa76cfbdb.tar.gz
barebox-6619b70e2935afc4b41dfe4a0c4ca7cfa76cfbdb.tar.xz
arch: remove KBUILD_SRC checks from arch Makefile
You can always add $(srctree)/ to the mach include path. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 148377791e..aa76260496 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -36,11 +36,7 @@ endif
machdirs := $(patsubst %,arch/powerpc/mach-%/,$(machine-y))
-ifeq ($(KBUILD_SRC),)
-KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs))
-else
KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))
-endif
archprepare: maketools