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:
parent
bc6303fb59
commit
168cb62ba5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user