2018-01-29 15:48:18 +01:00
|
|
|
MODULE = $(APPLICATION_MODULE)
|
2014-06-18 11:00:33 +02:00
|
|
|
|
2020-04-14 15:23:23 +02:00
|
|
|
DIRS += $(RIOTCPU)/$(CPU) $(BOARDDIR)
|
2020-10-22 13:37:31 +02:00
|
|
|
DIRS += $(RIOTBASE)/core $(RIOTBASE)/core/lib $(RIOTBASE)/drivers $(RIOTBASE)/sys
|
2014-06-18 11:00:33 +02:00
|
|
|
|
2023-10-26 16:32:17 +02:00
|
|
|
# For regular modules, adding files to BLOBS, SRC, SRCXX, ASMSRC or ASSMSRC
|
|
|
|
# in their Makefile is sufficient to explicitely set the variables.
|
2019-07-19 12:20:28 +02:00
|
|
|
#
|
|
|
|
# Application modules are different, as they use this makefile to build, thus
|
|
|
|
# application level variables are not available unless exported.
|
|
|
|
#
|
2023-10-26 16:32:17 +02:00
|
|
|
# But exporting would pre-set the variables for all submakefiles.
|
2019-07-19 12:20:28 +02:00
|
|
|
#
|
2023-10-26 16:32:17 +02:00
|
|
|
# As workaround, $(RIOTBASE)/Makefile.include passes the above-listed variables
|
|
|
|
# to this Makefile as APPLICATION_*.
|
|
|
|
BLOBS = $(APPLICATION_BLOBS)
|
|
|
|
SRC = $(APPLICATION_SRC)
|
|
|
|
SRCXX = $(APPLICATION_SRCXX)
|
|
|
|
ASMSRC = $(APPLICATION_ASMSRC)
|
|
|
|
ASSMSRC = $(APPLICATION_ASSMSRC)
|
2019-07-19 12:20:28 +02:00
|
|
|
|
2014-06-18 11:00:33 +02:00
|
|
|
include $(RIOTBASE)/Makefile.base
|