diff options
-rw-r--r-- | arch/arm/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 56ea5c60b318..61f6ccc19cfa 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -260,12 +260,14 @@ machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) | |||
260 | platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) | 260 | platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) |
261 | 261 | ||
262 | ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) | 262 | ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) |
263 | ifneq ($(CONFIG_ARM_SINGLE_ARMV7M),y) | ||
263 | ifeq ($(KBUILD_SRC),) | 264 | ifeq ($(KBUILD_SRC),) |
264 | KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) | 265 | KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) |
265 | else | 266 | else |
266 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) | 267 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) |
267 | endif | 268 | endif |
268 | endif | 269 | endif |
270 | endif | ||
269 | 271 | ||
270 | export TEXT_OFFSET GZFLAGS MMUEXT | 272 | export TEXT_OFFSET GZFLAGS MMUEXT |
271 | 273 | ||