mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: also detect features and blacklist on flash
Now also print warnings if there are missing features or a blacklisted board when doing 'make flash' Before, only when doing 'make' or 'make all' the FEATURES_REQUIRED, BOARD_BLACKLIST/WHITELIST and TOOLCHAINS were checked and a warning was printed. However as 'flash' triggers 'all' it is a common case to do 'make flash' directly instead of 'make all flash'. So better also print warnings in this case.
This commit is contained in:
parent
b518f3c73e
commit
5f3d0eab4d
@ -567,7 +567,7 @@ include $(RIOTMAKE)/vars.inc.mk
|
||||
include $(RIOTMAKE)/tools/targets.inc.mk
|
||||
|
||||
# Warn if the selected board and drivers don't provide all needed features:
|
||||
ifneq (, $(filter all, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
|
||||
ifneq (, $(filter all flash, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
|
||||
EXPECT_ERRORS :=
|
||||
EXPECT_CONFLICT :=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user