2015-04-11 07:44:37 +08:00
|
|
|
# default configuration
|
|
|
|
TEST ?= min
|
2015-05-10 05:16:53 +08:00
|
|
|
BSP ?= generic_pc
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-06-06 04:24:46 +08:00
|
|
|
MDEF_FILE = micro_${TEST}.mdef
|
2015-05-10 05:16:53 +08:00
|
|
|
KERNEL_TYPE = micro
|
2015-05-20 06:26:59 +08:00
|
|
|
CONF_FILE = prj_$(TEST)_$(ARCH).conf
|
2015-05-10 05:16:53 +08:00
|
|
|
CFLAGS += -DTEST_${TEST}
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-06-06 10:46:00 +08:00
|
|
|
include ${ZEPHYR_BASE}/Makefile.inc
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-05-10 05:16:53 +08:00
|
|
|
ifeq ($(ARCH),ARM)
|
|
|
|
ifneq ($(TEST),min)
|
2015-04-11 07:44:37 +08:00
|
|
|
$(error 'reg' and 'max' test do not currently build for ARM)
|
|
|
|
endif
|
|
|
|
endif
|