summaryrefslogtreecommitdiff
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-09-12 05:19:02 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-09-19 10:44:51 +0100
commit3f53950190271ba6876c3f9eed14af9cb64b6700 (patch)
tree350f8eab6d170d5a449e6045c4f9273ef35a175c /arch/arm/Makefile
parentd3c61619568c88d48eccd5e74b4f84faa1440652 (diff)
ARM: 8798/1: remove unnecessary KBUILD_SRC ifeq conditional
You can always prefix machine/plat header search paths with $(srctree)/ because $(srctree) is '.' for in-tree building. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index d1516f85f25d..06ebff73273f 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -264,13 +264,9 @@ platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y)))
ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y)
ifneq ($(CONFIG_ARM_SINGLE_ARMV7M),y)
-ifeq ($(KBUILD_SRC),)
-KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs))
-else
KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
endif
endif
-endif
export TEXT_OFFSET GZFLAGS MMUEXT