arm: only build configured platform
Use CONFIG_PLATFORM to only build the selected platform. This will enable support for drop-in platforms. Makefile will not need to be changed for every new platforms. Change-Id: I22778e8242422e487e941143df3e521b33f2b0a8 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c3a7fd2844
commit
3816104619
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,2 @@
|
|||
obj-y = core/
|
||||
|
||||
obj-$(CONFIG_PLATFORM_FSL_FRDM_K64F) += platforms/fsl_frdm_k64f/
|
||||
obj-$(CONFIG_PLATFORM_TI_LM3S6965) += platforms/ti_lm3s6965/
|
||||
obj-y += core/
|
||||
obj-y += platforms/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue