1
0
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:
Gaëtan Harter 2019-05-27 21:04:49 +02:00
parent 6130918ca8
commit 45e611d765
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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 ?=