From: Masahiro Yamada Date: Wed, 12 Sep 2018 04:19:02 +0000 (+0100) Subject: ARM: 8798/1: remove unnecessary KBUILD_SRC ifeq conditional X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3f53950190271ba6876c3f9eed14af9cb64b6700;p=linux.git 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 Signed-off-by: Russell King --- diff --git a/arch/arm/Makefile b/arch/arm/Makefile index d1516f85f25d3..06ebff73273f6 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