1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.include: don't warn about BOARDSDIR usage in sub-make

This commit is contained in:
Francisco Molina 2020-05-20 16:25:06 +02:00 committed by Alexandre Abadie
parent 3a30db4029
commit f1079cbe9f
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -99,8 +99,11 @@ endif
ifneq (,$(BOARDSDIR))
# Only warn users, not the CI.
ifneq ($(RIOT_CI_BUILD),1)
$(warning Using BOARDSDIR is deprecated use EXTERNAL_BOARD_DIRS instead)
$(info EXTERNAL_BOARD_DIRS can contain multiple folders separated by space)
# Do not warn when set from sub-make
ifeq ($(MAKELEVEL),0)
$(warning Using BOARDSDIR is deprecated use EXTERNAL_BOARD_DIRS instead)
$(info EXTERNAL_BOARD_DIRS can contain multiple folders separated by space)
endif
endif
EXTERNAL_BOARD_DIRS += $(BOARDSDIR)
endif