[riot-notifications] [RIOT-OS/RIOT] boards: boards/common directory as separate variable (#11155)
Juan I Carrano
notifications at github.com
Wed Mar 13 14:52:29 CET 2019
> Am I correct in my assumption that this BOARDSDIR variable is a list of directories to use for looking up boards and related files? If that is the case this would solve my issue I think.
I think that would be the best solution, like a kind of "PATH" for boards. It would also make "common" not special, just a convention.
We could set BOARDDIRS to a list of directories and then use some wildcard magic to include the board we want:
# just set it to some random list, cpu is here just to add a bit of diversity
BOARDSDIRS=boards boards/common cpu
get_board=$(lastword $(wildcard $(addsuffix /$(1),$(BOARDSDIRS))))
$(info $(call get_board,esp32))
Same thing with cpus.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications