2019-08-24 23:30:35 +07:00
|
|
|
include ../../../tools/top.mk
|
|
|
|
|
include ../../make.mk
|
|
|
|
|
|
|
|
|
|
INC += \
|
|
|
|
|
src \
|
|
|
|
|
$(TOP)/hw \
|
|
|
|
|
|
2019-09-20 13:02:17 +07:00
|
|
|
# stop on the first build error, which is quite a lot of porting new board
|
|
|
|
|
CFLAGS += -Wfatal-errors
|
|
|
|
|
|
2019-08-24 23:30:35 +07:00
|
|
|
# Example source
|
|
|
|
|
EXAMPLE_SOURCE += $(wildcard src/*.c)
|
|
|
|
|
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
|
|
|
|
|
|
|
|
|
|
include ../../rules.mk
|