[oe] adding new kernel defconfig

Michael 'Mickey' Lauer mickey at vanille-media.de
Sun Apr 19 12:01:26 UTC 2009


On Sunday 19 April 2009 13:54:07 G. Eismann wrote:
> Hi there,
>
> I am new with openembedded and I am trying to build a kernel for a new
> machine.
>
> In my machine config file I have these lines:
>
> PREFERRED_PROVIDER_virtual/kernel = "linux"
> PREFERRED_VERSION_linux = "2.6.25"
>
> When I build the kernel, bitake downloads a 2.6.25 kernel: OK
> But it takes the kernel config from recipes/linux/linux/defconfig
>
> I have added my own defconfig file in
> recipes/linux/linux-2.6.25/mymachine/defconfig but I dont know how to say
> bitbake to use it.

If you have set MACHINE=mymachine and are using a DISTRO configuration which 
includes a reasonable set of OVERRIDES; then $MACHINE is included in these 
OVERRIDES; which means, bitbake will copy $MACHINE/defconfig (if present) into 
$WORKDIR.

:M:





More information about the Openembedded-devel mailing list