chiark
/
gitweb
/
~mdw
/
mdw-cross
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f281ec
)
Makefile: Ensure that output directory exists before generating output.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 22 Dec 2018 09:22:46 +0000
(09:22 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 22 Dec 2018 09:30:31 +0000
(09:30 +0000)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 8835d42fa6f4a3522baa31d936192033bf6a99d9..a1588d291d68cd4fbd3395da7c2e98e914f6f20c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-39,6
+39,7
@@
TARGETS += $(SETUPS)
setup-flavour = $($1_FLAVOUR)
$(SETUPS): etc/%-setup.sh: $$(call setup-flavour,$$*)-setup.sh.in Makefile
+ $(V_AT)mkdir -p $(dir $@)
$(call v_tag,GEN)sed 's/@arch@/$($*_ARCH)/g' $< >$@.new && mv $@.new $@
all:: $(TARGETS)