|
From: Heiko Z. <he...@zu...> - 2003-10-23 01:45:35
|
Diego Torres wrote: >On Wed, Oct 22, 2003 at 10:25:37AM -0400, Heiko Zuerker wrote: > > > >>Modifications have to be done to the following scripts: >> >> > >I've added support for EPIA C3-2 CPUs to the build system. > >There are only two files modified: > >- configuration/prepare.config >added a KERNEL tag to the menuconfig options, so now one could choose the cpu type for the linux kernel. > >This is completely independant from the CONFIG_CPU switch. So now we have: > >CONFIG_CPU : the command passed to gcc as -march=type >CONFIG_KERNEL_CPU : the string appended to the linux .config file. > >- scripts/prepare >one line modified, so $CONFIG_KERNEL_CPU is written to the .config file. > >So, as pointed on the kernel mailing list (see the link on prepare.config), for an epia c3-2 motherboard you have to choose CPU=686 and KERNEL=VIAC3-2. > >Adding support for athlons (etc) should be very easy... > >is everyone happy with this change? it works and it's simple :) > > > Should we keep it separated or rather have only one configuration parameter? I think 1 should be better. We could set then the other one within the scripts. cya Heiko |