On 26 October 2011 15:22, Jeff Mahoney <jeffm(a)suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On 10/26/2011 07:10 AM, Andrew Wafaa wrote:
Aloha oh mighty plumbers,
My understanding of the way ARM is lead me to believe that we
could not have a single -default kernel. I understood that we
would require a separate kernel for each SoC, so one for Ti's OMAP,
one for Freescale's iMX, one for Nvidia's Tegra. Is this correct?
Yep. Hopefully only for now. :)
OK so that is good news :)
.configs for the three mentioned above which I have placed
in kernel-source/config/arm and have added the following to
# Initial ARM support +arm arm/imx +arm arm/omap +arm
I'm struggling with getting a spec file generated, I've added the
following to kernel-source/rpm/kernel-binary.spec.in:
%ifarch %arm add_vmlinux --compressed image=zImage cp -p
Now I'll admit I'm not sure if the above is correct, but I was
hoping to find out by trial and error (maybe not the best way but
it does help in the learning process). My understanding is that I
would get a kernel-arm.spec created, but I don't see anything of
the sorts when I run the tar-up.sh.
Actually, I think the comment at the top of config.conf might help:
# See the arch-symbols script for a list of symbols defined.
I haven't tested it, but you might need to add 'arm' to the output of
Yup, I added arm to the list in arch-symbols and hey presto.
Also, do I
need to add the following to the above spec.in:
%define build_imx (%build_flavor == "imx") %define build_omap
(%build_flavor == "omap") %define build_tegra (%build_flavor ==
Only if you need to use them. The build_* defines are only for where
conditionals are needed in the spec file.
I now think I'm going mad, I cant remember where on earth I added the
above. The result is a separate spec file for each SoC which is what I
was expecting so maybe I'm not too far from the mark, although
tar-up.sh does complain about no Description for the new spec files.
Thanks for the great work!
Thank you for all your help and support.
One last thing, how do you want me to send my changes, and can i just
copy the contents of the result of tar-up.sh to my branch of
kernel-source on obs?
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org