1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/info-global.inc.mk: Reset CPU/CPU_MODEL value when reading deps

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
This commit is contained in:
cladmi 2018-09-23 16:49:17 +02:00 committed by Gaëtan Harter
parent bc6303fb59
commit 168cb62ba5
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -14,8 +14,15 @@ define board_missing_features
DISABLE_MODULE := $(DISABLE_MODULE_GLOBAL)
FEATURES_REQUIRED := $(FEATURES_REQUIRED_GLOBAL)
FEATURES_OPTIONAL := $(FEATURES_OPTIONAL_GLOBAL)
# Remove board specific variables set by Makefile.features/Makefile.dep
FEATURES_PROVIDED :=
# Undefine variables that must not be defined when starting.
# Some are sometime set as `?=`
undefine CPU
undefine CPU_MODEL
include $(RIOTBASE)/Makefile.features
include $(RIOTBASE)/Makefile.dep