build: set platform name without quotes and reuse everywhere
Avoid having to remove quotes wherever the platform name is used by exporting the variable only once. Change-Id: I4cb51901e4ac19d70d0310fe6bbacd157f586661 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c4ad67dd9c
commit
1e3dca51bb
12 changed files with 17 additions and 20 deletions
|
@ -1,7 +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-ccflags-y +=-I$(srctree)/arch/arm/platforms/$(PLATFORM_NAME)
|
||||
subdir-asflags-y := ${subdir-ccflags-y}
|
||||
|
||||
obj-y += core/
|
||||
obj-y += platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))/
|
||||
obj-y += platforms/$(PLATFORM_NAME)/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue