On 4/21/2010 0:22, Roger Quadros wrote:
ext Arjan van de Ven wrote:
+n900: kernel.spec.in series makespec.pl
+ @touch N900;
+ @perl makespec.pl< kernel.spec.in> kernel-n900.spec ;
why make a separate spec like this? sounds completely unneeded to me....
for arm it will only build the n900 anyway right now
In future we should see more ARM platforms. we cannot say that arm = N900.
so? just stick it in kernel.spec.
Currently config-generic is more x86 specific it even has ARCH=x86.
so currently config-generic is broken.
so fix it ? But what you mention is not broken. It's by design.
config-generic is the superset of all config options.
And how can we ensure that this config-generic is compatible to all
platforms?
I think you misunderstood; config-generic is the basis for the configs, and
architectures override
individual pieces they need.... and then the board config overrides on top of
that.
and any option that does not actually exist for the platform will go away
automatically.
please always run all oldconfigs for all architectures for each build.
this way a developer that adds a config option is reminded to add it
to all the right places
on his own machine, independent of what architecture he is currently
building on.
this is the snippet which runs before the run oldconfig
# Remove configs not for the buildarch
for cfg in kernel-*.config; do
if [ `echo %{all_arch_configs} | grep -c $cfg` -eq 0 ]; then
rm -f $cfg
fi
done
So are u suggesting that this must not be done?
correct
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev