[oe] [RFC] split kernel_do_compile into kernel_do_compile_image and kernel_compile_modules

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Fri Oct 8 12:23:33 UTC 2010


2010/10/8 Koen Kooi <k.kooi at student.utwente.nl>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> For a long time now I have been thinking of this and today at work I
> found a case where I really need it:
>
> ti816x fbdev driver (internal to the kernel) depends on ti-syslink
> module (external), ti-syslink module requires a configured kernel tree.
>
> The reasons behind that are a bit complex, namely the framebuffer is
> done in "software" by a different processor which needs microcode to get
> loaded, etc, etc. We're working on getting that fixed, but it reminded
> my of my earlier plan.
>
> For people having simpler requirements, this allows you to (re)compile a
> *Image without waiting for a gazillion modules to build.
>
> Is anyone opposed to a change like this? The patch to kernel.bbclass is
> trivial, but a number or kernel recipes have do_compile_append that
> would need fixing.
>
> regards,
>
> Koen

Seems like a good plan to me.
Wrt the do_compile_append: that one does not seem to exist (at least
grep didn't give it to me).
There are some appends for configure/deploy/install though (see below)
I can imagine the deploy and installs also requiring some work.

Would it be a good plan to merge linux-libc-headers into this (so we
can build headers, kernel and modules from the same recipe)

Frans.

PS: I hope this does not mean getting 232 additonal recipes in the
linux dir (and yeah: maybe the linux dir could also use some cleanup).

chumby-kernel_2.6.16-chumby-1.2.bb:do_deploy_append() {
handhelds-pxa_2.4.19-rmk6-pxa1-hh42.bb:do_install_append() {
handhelds-sa_2.4.19-rmk6-pxa1-hh42.bb:do_install_append() {
ixp4xx-kernel.inc:do_install_append() {
LAB-kernel_cvs.bb:do_deploy_append() {
linux_2.6.20.bb:do_install_append_nhk15 () {
linux_2.6.26.bb:do_install_append() {
linux_2.6.27.bb:do_install_append() {
linux_2.6.28.bb:do_configure_append_smartqv7 () {
linux_2.6.29.bb:do_devicetree_image_append_boc01() {
linux_2.6.31.bb:do_devicetree_image_append_boc01() {
linux-bd-neon-2.6_2.6.22.bb:do_deploy_append() {
linux-bug_2.6.27.2.bb:do_install_append() {
linux-bug_2.6.27.2.bb:do_install_append() {
linux-dht-walnut_2.6.20.bb:do_install_append () {
linux-dht-walnut_2.6.20.bb:do_install_append () {
linux-dht-walnut_2.6.23.bb:do_install_append () {
linux-dht-walnut_2.6.23.bb:do_install_append () {
linux-efika_2.6.20.20.bb:do_install_append () {
linux-efika_2.6.20.bb:do_install_append () {
linux-efika_2.6.21+git.bb:do_install_append () {
linux-gumstix_2.6.15.bb:do_deploy_append() {
linux-handhelds-2.6.inc:do_deploy_append() {
linux.inc:do_configure_append() {
linux.inc:do_install_append() {
linux-kexecboot_2.6.21-hh20.bb:do_configure_append() {
linux-kexecboot.inc:do_configure_append() {
linux-leviathan_git.bb:do_deploy_append() {
linux-magicbox_2.6.18.6.bb:do_install_append () {
linux-magicbox_2.6.18.6.bb:do_install_append () {
linux-magicbox_2.6.19.2.bb:do_install_append () {
linux-magicbox_2.6.19.2.bb:do_install_append () {
linux-ml403-mvista-2.6.x_git.bb:do_install_append () {
linux-nokia800_2.6.21-osso71.bb:do_install_append () {
linux-omap_2.6.29.bb:do_install_append() {
linux-omap-hah_2.6.31.bb:do_configure_append() {
linux-omap-hah_2.6.31.bb:do_install_append() {
linux-omap-multi-psp_2.6.32.bb:do_install_append() {
linux-omap-pm_2.6.29.bb:do_install_append() {
linux-omap-psp_2.6.29.bb:do_install_append() {
linux-omap-psp_2.6.31.bb:do_install_append() {
linux-omap-psp_2.6.32.bb:do_install_append() {
linux-openmoko.inc:do_deploy_append() {
linux-sequoia_2.6.21.bb:do_install_append () {
linux-smdk2443_2.6.20+git.bb:do_deploy_append() {
linux-storcenter_2.6.27.7.bb:do_install_append() {
multi-kernel.inc:do_deploy_append () {




More information about the Openembedded-devel mailing list