projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556d483
)
image: add a build step for building and appending an ubinized rootfs
author
Jonas Gorski
<
[email protected]
>
Fri, 4 Sep 2015 14:44:10 +0000
(14:44 +0000)
committer
Jonas Gorski
<
[email protected]
>
Fri, 4 Sep 2015 14:44:10 +0000
(14:44 +0000)
Signed-off-by: Jonas Gorski <
[email protected]
>
SVN-Revision: 46783
include/image.mk
patch
|
blob
|
history
diff --git
a/include/image.mk
b/include/image.mk
index 73fc805bb589da9c9b9a270f3a12dc7524e193dd..fb89ed12222b1b02a5968b7289f133055f7212f7 100644
(file)
--- a/
include/image.mk
+++ b/
include/image.mk
@@
-345,6
+345,16
@@
define Build/append-rootfs
dd if=$(word 2,$^) $(if $(1),bs=$(1) conv=sync) >> $@
endef
+define Build/append-ubi
+ sh $(TOPDIR)/scripts/ubinize-image.sh \
+ $(if $(KERNEL_IN_UBI),--kernel $(word 1,$^)) \
+ $(word 2,$^) \
+
[email protected]
\
+ -p $(BLOCKSIZE) -m $(PAGESIZE) -E 5
+ cat
[email protected]
>> $@
+ rm
[email protected]
+endef
+
define Build/pad-to
dd if=$@
[email protected]
bs=$(1) conv=sync
mv
[email protected]
$@