Frans Meulenbroeks skrev: > 2010/10/18 Koen Kooi <[email protected]>: > On 18-10-10 15:38, Ulf Samuelsson wrote: >>>> Marcin Juszkiewicz skrev: >>>>> Dnia sobota, 16 pazdziernika 2010 o 14:50:02 [email protected] >>>>> 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 [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel BR Ulf Samuelsson _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
