2015-04-11 07:44:37 +08:00
|
|
|
# default configuration
|
|
|
|
TEST ?= min
|
2015-12-14 04:00:31 +08:00
|
|
|
BOARD ?= qemu_x86
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-06-06 04:24:46 +08:00
|
|
|
MDEF_FILE = micro_${TEST}.mdef
|
2016-02-02 05:27:31 +08:00
|
|
|
CONF_FILE = $(or $(wildcard $(TEST)/$(BOARD).conf), \
|
|
|
|
$(wildcard $(TEST)/$(ARCH).conf))
|
|
|
|
ifeq ($(TEST),float)
|
|
|
|
CFLAGS += -DTEST_max
|
|
|
|
else
|
|
|
|
CFLAGS += -DTEST_$(TEST)
|
|
|
|
endif
|
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
|