mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1be5b7b10b
These are already exported by `makefiles/vars.inc.mk`. It is a prerequisite to allow handling compilation without global exports.
11 lines
405 B
Makefile
11 lines
405 B
Makefile
# Define the CPU family so we can differentiate between them in the code
|
|
CFLAGS += -DCPU_FAM_$(shell echo $(CPU_FAM) | tr 'a-z-' 'A-Z_')
|
|
|
|
# this CPU implementation doesn't use CMSIS initialization
|
|
CFLAGS += -DDONT_USE_CMSIS_INIT
|
|
|
|
# for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
|
|
export LINKFLAGS += -L$(RIOTCPU)/sam_common/ldscripts
|
|
|
|
INCLUDES += -I$(RIOTCPU)/sam_common/include
|