arm: remove repeating cflags in Makefiles
Do not repeat the same flags for every added platform. Define the common flags on the architecture level instead. Change-Id: I0e501d6a909892dd682b106fb2a5072434a39563 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3816104619
commit
b533cdc302
3 changed files with 5 additions and 14 deletions
|
@ -1,2 +1,7 @@
|
|||
subdir-ccflags-y +=-I$(srctree)/include/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/arch/arm/platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
|
||||
subdir-asflags-y := ${subdir-ccflags-y}
|
||||
|
||||
obj-y += core/
|
||||
obj-y += platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue