1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:49:47 +01:00
RIOT/makefiles/application.inc.mk
2024-11-01 11:53:55 +01:00

23 lines
820 B
Makefile

MODULE = $(APPLICATION_MODULE)
DIRS += $(RIOTCPU)/$(CPU) $(BOARDDIR)
DIRS += $(RIOTBASE)/core $(RIOTBASE)/core/lib $(RIOTBASE)/drivers $(RIOTBASE)/sys
# For regular modules, adding files to BLOBS, SRC, SRCXX, ASMSRC or ASSMSRC
# in their Makefile is sufficient to explicitely set the variables.
#
# Application modules are different, as they use this makefile to build, thus
# application level variables are not available unless exported.
#
# But exporting would pre-set the variables for all submakefiles.
#
# 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)
include $(RIOTBASE)/Makefile.base