[Buildroot] [git commit] linux: only depend on host-lzop if needed

Fabio Porcedda fabio.porcedda at gmail.com
Tue Mar 4 09:40:09 UTC 2014


On Tue, Mar 4, 2014 at 9:14 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Peter Korsgaard,
>
> On Tue, 04 Mar 2014 07:37:19 +0100, Peter Korsgaard wrote:
>
>> Doesn't this get executed very early, E.G. before the linux sources are
>> extracted?
>
> Indeed, but the configuration file is already available at this point.
> It may be either a full .config, or a minimal defconfig, but in both
> cases it doesn't matter. See below.
>
>> Does it work with configurations using a defconfig in the kernel sources like sheevaplug_defconfig?
>
> It does, as explained in the commit log: since LZO is not the default
> compression, if it is chosen by the user in its kernel configuration,
> it will also appear in minimal defconfigs.

There are two linux defconfigs files that uses LZO as default:
$ git grep KERNEL_LZO | grep /configs
arch/arm/configs/imx_v6_v7_defconfig:CONFIG_KERNEL_LZO=y
arch/sh/configs/sdk7786_defconfig:CONFIG_KERNEL_LZO=y

If such defconfigs are used the host-lzo dependency is not added, does it?

Regards
-- 
Fabio Porcedda


More information about the buildroot mailing list