[Buildroot] [PATCH 1/1 v2] build host lz4 to support lz4 compression in the kernel.
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Apr 2 22:06:12 UTC 2015
Thomas, All,
On 2015-04-02 00:01 +0200, Thomas Petazzoni spake thusly:
> On Wed, 01 Apr 2015 23:55:01 +0200, Arnout Vandecappelle wrote:
>
> > Well, I'm in agreement with Johan's earlier statement that the overhead of the
> > host-lz4 build is negligible. It takes 20 seconds on my laptop, of which 6 are
> > buildroot overhead from parsing package/*/*.mk.
>
> 20 seconds, plus the host-lzop build time that we already build
> unconditionally.
>
> > Peter said before that all this hacking of linux (or other) config files should
> > be avoided, and I agree.
>
> Correct, except when it's related to needed dependencies in Buildroot.
>
> But if that's fine for everyone, I'm OK with merging an unconditional
> host-lz4 dependency. I'll just follow what the consensus is on this
> matter, since I don't feel like arguing too much on this
> not-so-important issue.
>
> Thanks for the feedback, definitely very useful to have the opinion of
> others to help take a decision.
Well, I always find it very frustrating to build something that I do not
use. 20 seconds is an eternity (even the 15-or-so it takes here).
Also, I see a lot of people doing this use-case, and being quite
frustrated:
make foo_defconfig
make linux-menuconfig
[Bam, 20s overhead, 35s on slower machines]
Otherwise, 15s for a lzo, yet another 10s for lz4. What next?
I would side with Thomas: add an entry in the Buildroot menuconfig to
configure what compression to use.
My 2-cent advice... ;-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list