[OpenWrt-Devel] [PATCH v3] lantiq: make zlib compression on ubifs the default for BTHOMEHUBV2B

Ben Mulvihill ben.mulvihill at gmail.com
Fri Jun 20 02:26:30 EDT 2014


On Fri, 2014-06-20 at 07:51 +0200, Ben Mulvihill wrote:
> On Thu, 2014-06-19 at 23:09 +0200, Ben Mulvihill wrote:
> > Nand flash on the Home Hub 2B is 32M, so it makes sense at
> > least for this board to use some sort of compression on
> > ubifs. Of course anyone building trunk for themselves can
> > choose whatever they want, but with a release coming up,
> > I think compression should be the default in pre-built
> > images. However, I have a question. Does it make sense
> > for compression by default to be enabled/disabled on a
> > board by board basis, or should it be the same for all
> > lantiq targets, or perhaps all targets full stop?
> > 
> > Thanks,
> > 
> > Ben
> > 
> 
> P.S. Sorry, missed the sign-off from the first one.

P.P.S. I'm not doing very well this time. Trying to do things
in a hurry. v3 is the right one.

Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---

--- a/config/Config-images.in	2014-06-19 22:44:40.962240035 +0200
+++ b/config/Config-images.in	2014-06-19 19:48:15.508299173 +0200
@@ -158,6 +158,7 @@ menu "Target Images"
 
 		choice
 			prompt "compression"
+			default TARGET_UBIFS_COMPRESSION_ZLIB if TARGET_lantiq_xway_BTHOMEHUBV2B
 			default TARGET_UBIFS_COMPRESSION_NONE
 			depends on TARGET_ROOTFS_UBIFS
 			help
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list