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/mips | |
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/mips')
-rw-r--r-- | arch/mips/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index abfa825042..5604a0a10d 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -82,11 +82,7 @@ machine-$(CONFIG_MACH_MIPS_LOONGSON) := loongson machine-$(CONFIG_MACH_MIPS_XBURST) := xburst machdirs := $(patsubst %,arch/mips/mach-%/,$(machine-y)) -ifeq ($(KBUILD_SRC),) -KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs)) -else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) -endif ifneq ($(machine-y),) MACH := arch/mips/mach-$(machine-y)/ |