Renames supported platform configurations to conform to new platform
configuration naming scheme.
Example usage with PLATFORM_CONFIG:
make PLATFORM_CONFIG=basic_cortex_m3
make PLATFORM_CONFIG=basic_atom
make PLATFORM_CONFIG=basic_minuteia
make PLATFORM_CONFIG=galileo
xxx_ti_lm3s6965_defconfig -> xxx_basic_cortex_m3_defconfig
xxx_generic_pc_atom_n28xx_defconfig -> xxx_basic_atom_defconfig
xxx_generic_pc_minuteia_defconfig -> xxx_basic_minuteia_defconfig
xxx_quark_defconfig -> xxx_galileo_defconfig
Change-Id: I696eb8b9ad9a72d7a72efbe1341ce23500335764
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
17 lines
338 B
Makefile
17 lines
338 B
Makefile
# default configuration
|
|
TEST ?= min
|
|
PLATFORM_CONFIG ?= basic_atom
|
|
|
|
MDEF_FILE = micro_${TEST}.mdef
|
|
KERNEL_TYPE = micro
|
|
CONF_FILE = prj_$(TEST)_$(ARCH).conf
|
|
CFLAGS += -DTEST_${TEST}
|
|
|
|
include ${ZEPHYR_BASE}/Makefile.inc
|
|
|
|
ifeq ($(ARCH),ARM)
|
|
ifneq ($(TEST),min)
|
|
$(error 'reg' and 'max' test do not currently build for ARM)
|
|
endif
|
|
endif
|