1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

Makefile.features: warning if CPU not defined by BOARD/Makefile.features

CPU must be defined by `$(RIOTBOARD)/$(BOARD)/Makefile.features` or
one of its common included Makefile.features file.

This currently only adds a warning but not prevents building for the
moment.
This commit is contained in:
cladmi 2018-09-11 14:13:08 +02:00 committed by Gaëtan Harter
parent cbfab679d3
commit 4277624b55
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -14,6 +14,8 @@ include $(RIOTBOARD)/$(BOARD)/Makefile.features
# Transitional conditional include until all boards define 'CPU'
ifneq (,$(CPU))
include $(RIOTCPU)/$(CPU)/Makefile.features
else
$(warning CPU must be defined by board / board_common Makefile.features)
endif