From: Andrei Gherzan <andrei@gherzan.ro>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
Date: Thu, 29 Dec 2016 18:20:15 +0000 [thread overview]
Message-ID: <20161229182015.GE26059@carbonA> (raw)
In-Reply-To: <7304ACDB-B05D-472D-8FF5-FC5CE402E88E@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]
On Fri, Dec 16, 2016 at 08:58:22AM -0800, Khem Raj wrote:
>
> > On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
> >
> > Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
> > ---
> > recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
> > 1 file changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
> > index 95a9530..c665b9f 100644
> > --- a/recipes-kernel/linux/linux-rpi.inc
> > +++ b/recipes-kernel/linux/linux-rpi.inc
> > @@ -34,11 +34,13 @@ kernel_configure_variable() {
> > fi
> > }
> >
> > -do_configure_prepend() {
> > +do_rpi_kconfig_clean() {
> > # Clean .config
> > - echo "" > ${B}/.config
> > + echo -n "" > ${B}/.config
> > CONF_SED_SCRIPT=""
> > +}
> >
> > +do_configure_prepend() {
> > # oabi / eabi support
> > kernel_configure_variable AEABI y
> > if [ "${ARM_KEEP_OABI}" = "1" ] ; then
> > @@ -124,8 +126,11 @@ do_configure_prepend() {
> > # Keep this the last line
> > # Remove all modified configs and add the rest to .config
> > sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
> > + # Clean variable- useful when calling configure step multiple times
> > + CONF_SED_SCRIPT=""
> >
> > yes '' | oe_runmake oldconfig
> > +
> > }
> >
> > # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
> > @@ -146,3 +151,5 @@ python () {
> >
> > configfile.close()
> > }
> > +
> > +addtask rpi_kconfig_clean before do_configure after do_populate_lic
>
> we should investigate the kernel tooling from OE-Core and use that IMO
I'm all for this. We should get rid of this and unify with oe-core
tooling.
@Piotr Would you like to work on this and remove completely this while
reworking on the kernel fragments configuration support? I'll take a
look on the old patches too.
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Andrei Gherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]
next prev parent reply other threads:[~2016-12-29 18:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-15 10:05 [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step Piotr Lewicki
2016-12-15 10:05 ` [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
2016-12-16 16:58 ` Khem Raj
2016-12-16 19:31 ` Mike Looijmans
2016-12-19 15:31 ` Sandro Stiller
2016-12-29 18:20 ` Andrei Gherzan [this message]
2016-12-30 7:20 ` Piotr Lewicki
2016-12-30 13:20 ` Andrei Gherzan
2017-01-02 13:41 ` Piotr Lewicki
2016-12-15 10:51 ` [meta-raspberrypi][PATCH 0/1] " Andreas Müller
-- strict thread matches above, loose matches on Subject: below --
2016-12-16 12:04 [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
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=20161229182015.GE26059@carbonA \
--to=andrei@gherzan.ro \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.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.