-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ping
On 11-10-10 09:55, Koen Kooi wrote: > This allows recipes to insert a custom task in between building *Image and > modules > > Signed-off-by: Koen Kooi <[email protected]> > --- > classes/kernel.bbclass | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass > index cf6b8cd..83e3f44 100644 > --- a/classes/kernel.bbclass > +++ b/classes/kernel.bbclass > @@ -89,12 +89,17 @@ kernel_do_compile() { > oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" > fi > oe_runmake ${KERNEL_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" > +} > + > +do_compile_kernelmodules() { > + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE > if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then > oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" > else > oenote "no modules to compile" > fi > } > +addtask compile_kernelmodules after do_compile before do_install > > kernel_do_install() { > unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFMtBfOMkyGM64RGpERAonPAKCPzmCFS67arfwLKKL8Eb7QENuKOgCgmx++ 7TUh52+7x1OV5xjF7Pp/oFk= =yf9t -----END PGP SIGNATURE----- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
