X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Farm%2FMakefile;h=61f6ccc19cfa94364e777cc68d10ce5a24093c0f;hb=de8a06f674a6f9d781e5087e9217319c7b831821;hp=56ea5c60b31883bdf52ca01c4748061c4ed39871;hpb=549fba3a615a5dc6219bb41b3ee3951173fcf1e6;p=cascardo%2Flinux.git 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)) 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