[oe] [PATCH 1/5] Use common files for AT91SAM9 configuration

Ulf Samuelsson ulf.samuelsson at atmel.com
Mon Oct 18 17:16:38 UTC 2010


Frans Meulenbroeks skrev:
> 2010/10/18 Koen Kooi <k.kooi at student.utwente.nl>:
> On 18-10-10 15:38, Ulf Samuelsson wrote:
>>>> Marcin Juszkiewicz skrev:
>>>>> Dnia sobota, 16 pazdziernika 2010 o 14:50:02 ulf.samuelsson at atmel.com
>>>>> napisaB(a):
>>>>>
>>>>>> +++ b/conf/machine/include/at91-2.6.30.inc
>>>>>> +++ b/conf/machine/include/at91-2.6.32.inc
>>>>> Do you plan to duplicate that file with each kernel you will produce?
>>>>> Create include/at91-sam9.inc and put it there.
>>>>>
>>>>> Regards,
>>>> This is to allow different kernel versions for different AT91 chips.
>>>> This allows both a "stable" version, and a development kernel
>>>> to be easily handled.
>>>>
>>>> The file defines (amongst other things) the
>>>> * kernel version,
>>>> * u-boot version
>>>> * at91bootstrap version
>>>> so you need one file per version.
> NAK! Machines don't get to decide versions! Please revert that commit
> and come up with a better way, e.g. default_preference in the recipes or
> distro include files.
> 
>> Well machines are probably better capable to decide what u-boot and
>> kernel version is best for them.
>> One alternative (which is probably by more yukky) is to create an
>> kernel-at91 recipe and define PREFERRED_PROVIDER_virtual/kernel
>> I don't feel that is a better scenario
> 

The advantage of putting the kernel/u-boot/at91bootstrap in the
machine file, is that I can make a copy of a machine file to another
file, change the version of the include file and build.

I dont have to change any files, so nothing existing breaks.

Once everything is tested, I can just replace the old machine file
with the new file and check in.



>> Frans
> 
> 
>>
>>
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>

> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

BR
Ulf Samuelsson




More information about the Openembedded-devel mailing list