On (11/03/11 10:51), Andrea Adami wrote: > On Fri, Mar 11, 2011 at 10:49 AM, Andrea Adami <[email protected]> wrote: > >> I think this is something we can encapsulate in machine.conf files > >> so unless the general value in bitbake.conf does not fail for almost > >> all cases I would suggest to keep it and instead introduce a new > >> variable to control the level > >> -Khem > > > > Ok, but then we need a weak assignment in bitbake.conf to allow the > > setting in machine conf. > > > > So, in bitbake.conf > > > > -IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && > > (find . | cpio -o -H newc | lzma -c -9 > >>${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) > > ${EXTRA_IMAGECMD}" > > > > + LZMA_COMPRESSION_LEVEL ?= "-9" > > +IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && > > (find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL} > >>${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) > > ${EXTRA_IMAGECMD}" > > > > And in machine.conf e.g. > > + LZMA_COMPRESSION_LEVEL ?= "-7" > > Copy and paste is for the lazy..obviously I meant > + LZMA_COMPRESSION_LEVEL = "-7" > > > > > > Acceptable?
Yes I would think so. > > > > Regards > > > > Andrea > > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- -Khem _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
