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

Ulf Samuelsson ulf.samuelsson at atmel.com
Mon Oct 18 13:38:28 UTC 2010


Marcin Juszkiewicz skrev:
> Dnia sobota, 16 października 2010 o 14:50:02 ulf.samuelsson at atmel.com 
> napisał(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.

There are basically two choices.
1) versions in one file per kernel, and functions in a common include file.
2) versions and functions in one file per kernel

I do not see how a single include file will give me this flexibility,
but I am open to suggestions.

Best Regards
Ulf Samuelsson





More information about the Openembedded-devel mailing list