From: Masahiro Yamada Date: Fri, 20 Feb 2015 08:04:19 +0000 (+0900) Subject: ARM: prepare for including X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=30ebf88f44917abf070ab899111cd2684000e204;p=u-boot.git ARM: prepare for including This commit adds $(srctree)/arch/arm/$(machdirs)/include/mach to the headers search path. It allows us to replace "#include " with "#include ". As "#include " is still supported, we can modify each file one by one. Signed-off-by: Masahiro Yamada --- diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 678ac132aa..878ae26ce4 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -19,6 +19,8 @@ machine-$(CONFIG_ARCH_VERSATILE) += versatile machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) +PLATFORM_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) + libs-y += $(machdirs) head-y := arch/arm/cpu/$(CPU)/start.o