diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-11 10:40:14 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-12 07:45:04 +0200 |
commit | 6619b70e2935afc4b41dfe4a0c4ca7cfa76cfbdb (patch) | |
tree | cba4764aca95adb0d86ce25547aeb36d4566b9dc /arch/powerpc | |
parent | 5bf39f5f63492b36e676404e51cc69a4b2058dd7 (diff) | |
download | barebox-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/Makefile | 4 |
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 |