[oe] [PATCH] nios2.conf: New architecture nios2.

Leon Woestenberg leon.woestenberg at gmail.com
Fri Dec 11 23:16:31 UTC 2009


Hello,

On Mon, Dec 7, 2009 at 11:36 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> On 06-12-09 23:44, Leon Woestenberg wrote:
>
>> +# Select the nios2-specific toolchain parts
>> +PREFERRED_VERSION_binutils = "nios2-2.15"
>> +PREFERRED_VERSION_binutils-cross = "nios2-2.15"
>> +PREFERRED_VERSION_linux-libc-headers = "nios2-2.6.28"
>> +PREFERRED_VERSION_elf2flt-cross = "nios2-git"
>> +PREFERRED_VERSION_gcc-cross = "nios2-3.4.6"
>> +PREFERRED_VERSION_gcc-cross-initial = "nios2-3.4.6"
>> +PREFERRED_VERSION_gcc-cross-intermediate = "nios2-3.4.6"
>> +PREFERRED_VERSION_uclibc = "nios2-0.9.29"
>> +PREFERRED_VERSION_uclibc-initial = "nios2-0.9.27"
>
> NAK
>
> This doesn't belong in a machine.conf, it belongs in the distro.
>

Hmm, the architecture file (conf/machine/nios2.conf) is the most
related file to give sane defaults for the toolchain etc.

Of course distro's and end-users can override that, but I think this
information belongs with the machine or underlying architecture by
default.


I will change it, but my opinion is per above, unless some good
reasons are given why we shouldn't use the system where higher-level
.conf files can override lower-level .conf files.

Regards,
-- 
Leon




More information about the Openembedded-devel mailing list