projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644175c
)
build: make sure that $(STAGING_DIR_IMAGE) exists
author
Daniel Golle
<
[email protected]
>
Tue, 29 Nov 2022 15:26:25 +0000
(15:26 +0000)
committer
Daniel Golle
<
[email protected]
>
Mon, 5 Dec 2022 01:28:28 +0000
(
01:28
+0000)
Call 'mkdir -p $(STAGING_DIR_IMAGE)' before trying to store files in
this potentially non-existing folder.
Signed-off-by: Daniel Golle <
[email protected]
>
include/image-commands.mk
patch
|
blob
|
history
diff --git
a/include/image-commands.mk
b/include/image-commands.mk
index 1f6ba1c15a47e983692a0a100721e4420476818a..41e1c9694852e60c6c2ce4d20619b9c727a492b3 100644
(file)
--- a/
include/image-commands.mk
+++ b/
include/image-commands.mk
@@
-53,6
+53,7
@@
define Build/append-image-stage
cp "$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)" "
[email protected]
"
fwtool -s /dev/null -t "
[email protected]
" || :
fwtool -i /dev/null -t "
[email protected]
" || :
+ mkdir -p "$(STAGING_DIR_IMAGE)"
dd if="
[email protected]
" of="$(STAGING_DIR_IMAGE)/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))-$(DEVICE_NAME)-$(1)"
dd if="
[email protected]
" >> "$@"
rm "
[email protected]
"