Fonera: add squashfs patch
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
parent
f60088960b
commit
72b79cfb8c
2 changed files with 18 additions and 1 deletions
|
@ -3,7 +3,7 @@ machine=fonera
|
||||||
target=$builddir/$machine
|
target=$builddir/$machine
|
||||||
|
|
||||||
board_prepare() {
|
board_prepare() {
|
||||||
echo "nothing todo" > /dev/null
|
cat ./bsp/$machine/000-squashfs-image-params.patch | patch -p0 -d $target
|
||||||
}
|
}
|
||||||
|
|
||||||
board_prebuild() {
|
board_prebuild() {
|
||||||
|
|
17
bsp/fonera/000-squashfs-image-params.patch
Normal file
17
bsp/fonera/000-squashfs-image-params.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Index: include/image.mk
|
||||||
|
===================================================================
|
||||||
|
--- include/image.mk (Revision 35298)
|
||||||
|
+++ include/image.mk (Arbeitskopie)
|
||||||
|
@@ -42,10 +42,10 @@
|
||||||
|
JFFS2OPTS += -x lzma
|
||||||
|
endif
|
||||||
|
|
||||||
|
-SQUASHFS_BLOCKSIZE := 256k
|
||||||
|
+SQUASHFS_BLOCKSIZE := 64k
|
||||||
|
SQUASHFSOPT := -b $(SQUASHFS_BLOCKSIZE)
|
||||||
|
SQUASHFSCOMP := gzip
|
||||||
|
-LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2
|
||||||
|
+LZMA_XZ_OPTIONS := -Xpreset 1
|
||||||
|
ifeq ($(CONFIG_SQUASHFS_LZMA),y)
|
||||||
|
SQUASHFSCOMP := lzma $(LZMA_XZ_OPTIONS)
|
||||||
|
endif
|
Loading…
Add table
Reference in a new issue