mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
ARM: prepare for including <mach/*.h>
This commit adds $(srctree)/arch/arm/$(machdirs)/include/mach to the headers search path. It allows us to replace "#include <asm/arch/foo.h>" with "#include <mach/foo.h>". As "#include <asm/arch/foo.h>" is still supported, we can modify each file one by one. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
dc7de222aa
commit
30ebf88f44
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ machine-$(CONFIG_ARCH_VERSATILE) += versatile
|
||||||
|
|
||||||
machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
|
machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
|
||||||
|
|
||||||
|
PLATFORM_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))
|
||||||
|
|
||||||
libs-y += $(machdirs)
|
libs-y += $(machdirs)
|
||||||
|
|
||||||
head-y := arch/arm/cpu/$(CPU)/start.o
|
head-y := arch/arm/cpu/$(CPU)/start.o
|
||||||
|
|
Loading…
Add table
Reference in a new issue