We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cb5e10 commit 76a7e87Copy full SHA for 76a7e87
makefiles/info-global.inc.mk
@@ -1,6 +1,7 @@
1
.PHONY: info-buildsizes info-buildsizes-diff info-features-missing \
2
info-boards-features-missing
3
4
+BOARDSDIR_GLOBAL := $(BOARDSDIR)
5
USEMODULE_GLOBAL := $(USEMODULE)
6
USEPKG_GLOBAL := $(USEPKG)
7
FEATURES_REQUIRED_GLOBAL := $(FEATURES_REQUIRED)
@@ -31,6 +32,12 @@ define board_unsatisfied_features
31
32
undefine CPU
33
undefine CPU_MODEL
34
35
+ # Replicate Makefile.include reseting of BOARDSDIR if BOARD is not found
36
+ # in BOARDSDIR
37
+ ifeq (,$(wildcard $(BOARDSDIR_GLOBAL)/$(BOARD)))
38
+ BOARDSDIR = $(RIOTBOARD)
39
+ endif
40
+
41
include $(RIOTBASE)/Makefile.features
42
43
include $(RIOTMAKE)/defaultmodules.inc.mk
0 commit comments