Skip to content
Snippets Groups Projects
Commit b369c1bb authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

zephyr/Makefile: Make prj_$(BOARD).conf optional, again.

This time hopefully should work reliably, using make $(wildcard) function,
which in this case either expands to existing prj_$(BOARD).conf file, or to
an empty string for non-existing one.
parent a036554a
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,10 @@ z_clean:
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD) clean
# This rule is for prj_$(BOARD)_merged.conf, not $(CONF_FILE), which
# can be overriden
prj_$(BOARD)_merged.conf: prj_base.conf prj_$(BOARD).conf
# can be overriden.
# prj_$(BOARD).conf is optional, that's why it's resolved with $(wildcard)
# function.
prj_$(BOARD)_merged.conf: prj_base.conf $(wildcard prj_$(BOARD).conf)
$(PYTHON) makeprj.py prj_base.conf prj_$(BOARD).conf $@
test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment