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,6 +1,6 @@
|
|||
subdir-ccflags-y += -I$(srctree)/include/drivers
|
||||
subdir-ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
|
||||
subdir-asflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
|
||||
subdir-ccflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
subdir-asflags-y +=-I$(srctree)/arch/$(ARCH)/platforms/$(PLATFORM_NAME)
|
||||
|
||||
obj-y = console/
|
||||
obj-y += random/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue