|
@@ -260,12 +260,14 @@ machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
|
|
platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y)))
|
|
platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y)))
|
|
|
|
|
|
ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y)
|
|
ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y)
|
|
|
|
+ifneq ($(CONFIG_ARM_SINGLE_ARMV7M),y)
|
|
ifeq ($(KBUILD_SRC),)
|
|
ifeq ($(KBUILD_SRC),)
|
|
KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs))
|
|
KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs))
|
|
else
|
|
else
|
|
KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
|
|
KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
+endif
|
|
|
|
|
|
export TEXT_OFFSET GZFLAGS MMUEXT
|
|
export TEXT_OFFSET GZFLAGS MMUEXT
|
|
|
|
|