mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/boards.inc.mk: simply expand ALLBOARDS
We can't use memoized here since if we don't expand immediatly the value for BOARDSDIR might change.
This commit is contained in:
parent
1f844fb99a
commit
ff70ad377a
@ -12,8 +12,8 @@ ifneq ($(RIOTBOARD),$(BOARDSDIR))
|
||||
ALLBOARDS_RIOTBOARD ?= $(call _get_boards_in_directory,$(RIOTBOARD))
|
||||
endif
|
||||
|
||||
# Get all boards
|
||||
ALLBOARDS ?= $(sort $(call _get_boards_in_directory,$(BOARDSDIR)) $(ALLBOARDS_RIOTBOARD))
|
||||
# Use `:=` so that it is evaluated before BOARDSDIR gets eventually changed
|
||||
ALLBOARDS := $(sort $(call _get_boards_in_directory,$(BOARDSDIR)) $(ALLBOARDS_RIOTBOARD))
|
||||
|
||||
# Set the default value from `BOARDS`
|
||||
BOARDS ?= $(ALLBOARDS)
|
||||
|
Loading…
Reference in New Issue
Block a user