From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCHv3 1/3] kernel bbclass: split do_compile into do_compile and do_compile_modules
Date: Tue, 12 Oct 2010 10:09:50 +0200 [thread overview]
Message-ID: <i9154e$2rk$1@dough.gmane.org> (raw)
In-Reply-To: <1286783755-19145-1-git-send-email-koen@openembedded.org>
-----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 <koen@openembedded.org>
> ---
> 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-----
next prev parent reply other threads:[~2010-10-12 8:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 7:55 [PATCHv3 1/3] kernel bbclass: split do_compile into do_compile and do_compile_modules Koen Kooi
2010-10-11 7:55 ` [PATCHv3 2/3] kernel bbclass: make 'kernel-modules' meta-package use RRECOMMENDS to please insane.bbclass Koen Kooi
2010-10-12 12:55 ` Frans Meulenbroeks
2010-10-11 7:55 ` [PATCHv3 3/3] multi-kernel: adapt to kernel_do_compile_kernelmodules change in kernel.bbclass Koen Kooi
2010-10-12 12:54 ` Frans Meulenbroeks
2010-10-12 8:09 ` Koen Kooi [this message]
2010-10-12 10:08 ` [PATCHv3 1/3] kernel bbclass: split do_compile into do_compile and do_compile_modules Frans Meulenbroeks
2010-10-12 10:34 ` Koen Kooi
2010-10-12 12:51 ` Frans Meulenbroeks
2010-10-12 12:53 ` Frans Meulenbroeks
2010-10-12 13:02 ` Koen Kooi
2010-10-12 13:18 ` Frans Meulenbroeks
2010-10-12 14:26 ` Paul Menzel
2010-10-12 21:39 ` Paul Menzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i9154e$2rk$1@dough.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.