2016-03-16 12:00:25 +01:00
|
|
|
# name of your application
|
|
|
|
APPLICATION = bindist
|
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= native
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
2017-11-19 14:12:25 +01:00
|
|
|
DEVELHELP ?= 1
|
2016-03-16 12:00:25 +01:00
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
# bindist specific stuff:
|
|
|
|
#
|
|
|
|
# build and use module "abc".
|
2017-01-08 14:52:26 +01:00
|
|
|
# use BIN_DIRS instead of DIRS, BIN_USEMODULE instead of USEMODULE,
|
|
|
|
# to flag that the directory should only be included when doing a normal build,
|
|
|
|
# and that the resulting .a should be saved when doing "make bindist"
|
|
|
|
BIN_DIRS += abc
|
2018-01-29 15:48:18 +01:00
|
|
|
BIN_USEMODULE += abc # include "abc" module
|
|
|
|
BIN_USEMODULE += $(APPLICATION_MODULE) # include application module
|
2016-03-16 12:00:25 +01:00
|
|
|
|
2017-01-08 14:52:26 +01:00
|
|
|
# list of extra files to include in binary distribution
|
2016-03-16 12:00:25 +01:00
|
|
|
DIST_FILES += Makefile
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|