mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
24 lines
427 B
Makefile
24 lines
427 B
Makefile
|
include ../../features_check.inc.mk
|
||
|
|
||
|
FEATURES_VARS := \
|
||
|
FEATURES_CONFLICTING \
|
||
|
FEATURES_USED \
|
||
|
FEATURES_USED_BLACKLISTED \
|
||
|
FEATURES_MISSING \
|
||
|
#
|
||
|
|
||
|
define _expected =
|
||
|
ifneq ($$(EXPECTED_$1),$$($1))
|
||
|
$$(info EXPECTED_$1 = $$(EXPECTED_$1))
|
||
|
$$(info $1 = $$($1))
|
||
|
$$(error $1 incorrectly resolved)
|
||
|
endif
|
||
|
endef
|
||
|
|
||
|
$(foreach var,$(FEATURES_VARS),$(eval $(call _expected,$(var))))
|
||
|
|
||
|
|
||
|
.PHONY: all
|
||
|
all:
|
||
|
@echo Success
|