Skip to content

Commit

Permalink
make: Fix make continuing when the ATDF source file is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahix committed Oct 16, 2024
1 parent 2efc037 commit 5a58673
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ svd/%.svd: vendor/%.atdf
@echo -e "\tATDF2SVD\t$*"
@atdf2svd $< $@ 2>/dev/null

$(foreach patch, $(PATCHES), $(eval $(patsubst patch/%.yaml, svd/%.svd.patched, $(patch)): $(patch)))

svd/%.svd.patched: svd/%.svd .deps/%.d
svd/%.svd.patched: svd/%.svd .deps/%.d patch/%.yaml
@if [ -f patch/$*.yaml ] ; then \
echo -e "\tPATCH\t\t$*"; \
svd patch patch/$*.yaml; \
Expand Down

0 comments on commit 5a58673

Please sign in to comment.