mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/app_dirs.inc.mk: Calculate 'BOARDS' value only once
Evaluate BOARDS only once before going in all directories. This uses the target specific 'export BOARDS ?=' to export the variable with its value without evaluating during parsing.
This commit is contained in:
parent
6130918ca8
commit
45e611d765
@ -21,3 +21,5 @@ info-applications-supported-boards:
|
||||
@for dir in $(APPLICATION_DIRS); do \
|
||||
make --no-print-directory -C $${dir} info-boards-supported 2>/dev/null | xargs -n 1 echo $${dir}; \
|
||||
done
|
||||
# BOARDS values from 'boards.inc.mk' to only evaluate it once
|
||||
info-applications-supported-boards: export BOARDS ?=
|
||||
|
Loading…
Reference in New Issue
Block a user