-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. :)
I have .configs for the three mentioned above which I have placed in kernel-source/config/arm and have added the following to kernel-source/config.conf:
# Initial ARM support +arm arm/imx +arm arm/omap +arm arm/tegra
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 arch/arm/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor %endif
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 - --list.
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 == "tegra")
Only if you need to use them. The build_* defines are only for where conditionals are needed in the spec file. Thanks for the great work! - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOqBeVAAoJEB57S2MheeWyl7wP/1o2+0W1jy/+YLHqiPiDsibi n3vN2FvhikC9YLOYNgnrCPMjVSDX0lS80JXgylGIBrurZ9jvT5tYnv/+IioWt1K3 kfmbvqgnOEK73eSLmpGUUDmTzl6Oj3lYTtfgtFSzts0U/6O8k8OQRTWL9J1HCZWp d88ObQZD3t0SM89cDAdTMlnBCTlNLaH+CWSbRO88O+ot6wvR71JGrvWWUGygXGTL 8TtQxxrG/GixvQvC4yoER/K3UTNjhT2PKMuWuFBnhpQLiQL0s0PbJluIIy2bgZCE Vy2v150FDvsiMEEAIPuD6tKUCJOXXeCqtHBQf3uzU1nB/FG5mhDHWtqC6gdj0Kw5 sySuJmZL6YB6kczPjb/TMudg7vdxp3zlUj1NISNQzZ4p2juuMWfLA7jb0zyJdU26 6u9fcyP7FFO1BuP9/ifmaODab4OYB0SoLM6LVlsU8jWPIbZxjxeEPe2YcR4AQftO a3xTEPRbqeSQqkkIWwOg5A8bkebFyuJES4gmfngML1l1LqbTAYXYCzj24dNEi/94 aa0RX8MI8cLU6cK7Ab4rwjCoqnjoi/ZlAT5gnDu9HNaFWgMLfUJag6jA7wqdjdx0 zxcHFQ+8lD9c4mgbYSvxNZqnGEgVhk4Q5na5Q6vHzXxLYIc9NFZPjBAaf/9nGuNj GVl+BlF5XpbLgGZanS8i =YtyK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org