<div dir="ltr"><div>Cool, I'll have a peek at the oe classic recipe and give it a stab along the same spirit.<br><br></div>Best regards, Frans<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/10 Andrea Adami <span dir="ltr"><<a href="mailto:andrea.adami@gmail.com" target="_blank">andrea.adami@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Jan 9, 2013 at 6:17 PM, Richard Purdie<br>
<<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br>
> On Wed, 2013-01-09 at 17:12 +0100, Frans Meulenbroeks wrote:<br>
>> As I am involved in embedded systems where flash is somewhat sparse<br>
>> I'm always eager to save a few bytes where possible.<br>
>><br>
>> Today I noticed that mtd-utils (1.5.0 from danny) generates for my<br>
>> architecture (powerpc) roughly 780k of binaries in usr/sbin. 423k of<br>
>> it is due to ubifs related files.<br>
>><br>
>> Would it be desired to put this in a separate package?<br>
>><br>
>> e.g. mtd-utils-ubi and mtd-utils-nonubi with mtd-utils itself being<br>
>> empty but rdepend on those two?<br>
>> that way mtd-utils will still give all packages but those only wanting<br>
>> the non ubi stuff can limit themselves to that.<br>
>><br>
>> If desired I can give this a stab.<br>
><br>
> Sounds like a sensible split to me...<br>
><br>
> Cheers,<br>
><br>
> Richard<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br>
OE-Classic already has one packaging split:<br>
PACKAGES =+ "mkfs-jffs2 mkfs-ubifs<br>
<br>
Recently I faced this same issue: for ubiattach we have to install<br>
full mtd-utils (>700KiB)<br>
FYI there is a recipe for ubi-utils-klibc for more extreme size optimization.<br>
<br>
<a href="http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-devtools/mtd" target="_blank">http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-devtools/mtd</a><br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"><br>
Andrea<br>
</font></span></blockquote></div><br></div>