From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Diego Sueiro <diego.sueiro@gmail.com>,
Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
Rudolf Streif <rstreif@linuxfoundation.org>
Subject: Re: Custom defconfig is not used
Date: Thu, 17 Oct 2013 08:50:16 -0400 [thread overview]
Message-ID: <525FDD08.90400@windriver.com> (raw)
In-Reply-To: <CAMCfZKF3aHG4wFMRx2XcdroJJ6ga5v6KHF5DbBTWV7jXOGNX-g@mail.gmail.com>
On 13-10-17 06:39 AM, Diego Sueiro wrote:
>
>
>
> 2013/10/17 Bruce Ashfield <bruce.ashfield@gmail.com
> <mailto:bruce.ashfield@gmail.com>>
>
> On Wed, Oct 16, 2013 at 2:19 PM, Diego Sueiro
> <diego.sueiro@gmail.com <mailto:diego.sueiro@gmail.com>> wrote:
> > Folks,
> >
> > Looking at log.do_unpack it shows:
> >
> > ...
> > NOTE: Unpacking
> >
> <...>/meta-beagleboard/common-bsp/recipes-kernel/linux/linux-mainline-3.8/beaglebone/defconfig
> > to
> >
> <...>/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-mainline/3.8.13-r23a/
> > ...
> >
> > NOTE: Unpacking
> > <...>/meta-mine/recipes-kernel/linux/linux-mainline-3.8/mine.patch to
> >
> <...>/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-mainline/3.8.13-r23a/
> > NOTE: Unpacking
> >
> <...>/meta-beagleboard/common-bsp/recipes-kernel/linux/linux-mainline-3.8/beaglebone/defconfig
> > to
> >
> <...>/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-mainline/3.8.13-r23a/
> >
> >
> > Note that it copies defconfig from meta-beagleboard and in the
> end, instead
> > copying mine, it is copying from meta-beagleboard again.
> >
> > My layer has the priority higher than meta-beagleboard.
>
> I can't get at my machines to test this myself (technically I'm still
> on vacation), but when you
> dump the bitbake environment, how many defconfig's show up in the
> SRC_URI ? It would be
> easy enough in your bbapend to simply call your defconfig something
> else (i.e. defconfig-mine)
> and override/append to kernel_do_configure() to simply copy yours over
> top of the .config,
> regardless of what the fetcher is doing with the SRC_URI.
>
> Bruce
>
>
> Bruce,
>
> Putting the following in my recipe did the trick:
>
> do_configure_prepend() {
> cp ${WORKDIR}/defconfig-mine ${WORKDIR}/defconfig
> }
>
>
> Now the .config is the same as my custom defconfig.
>
> But, this is a workaround, right?
I could be. Until we root cause the issue, I can't say for sure.
> I expected to get this working "out-of-box".
Did you do a "bitbake -e <your kernel recipe>" ? and then look at
the SRC_URI ? That will tell us if for some reason the beagle layer's
defconfig is on there twice.
> Why config fragments did not worked too?
recipes must inherit linux-yocto to get that support, since it is
optional and not something we force on all kernel recipes. So if you
want fragment support, creating your own kernel recipe, based on the
one in the layers you are using, which inherits linux-yocto is one
route to take.
Bruce
>
>
>
> --
> *dS
> Diego Sueiro
>
> /*long live rock 'n roll*/
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
next prev parent reply other threads:[~2013-10-17 12:50 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 21:07 Custom defconfig is not used Diego Sueiro
2013-10-15 21:29 ` Katu Txakur
2013-10-15 21:49 ` Rudolf Streif
2013-10-15 21:55 ` Andrea Adami
2013-10-16 17:25 ` Diego Sueiro
2013-10-16 18:19 ` Diego Sueiro
2013-10-17 3:56 ` Bruce Ashfield
2013-10-17 10:39 ` Diego Sueiro
2013-10-17 12:50 ` Bruce Ashfield [this message]
2013-10-17 13:15 ` Diego Sueiro
2013-10-17 13:19 ` Bruce Ashfield
2013-10-17 13:51 ` Andrea Adami
2013-10-17 15:47 ` Diego Sueiro
2013-10-18 4:48 ` Bruce Ashfield
2013-10-18 9:17 ` Diego Sueiro
2013-10-18 20:17 ` Bruce Ashfield
2013-10-22 16:23 ` Mike Lewis
2013-10-22 22:10 ` Bruce Ashfield
2013-10-24 0:17 ` Bruce Ashfield
2013-10-25 11:43 ` Diego Sueiro
2013-10-25 18:44 ` Bruce Ashfield
2013-10-26 1:19 ` Mike Lewis
2013-10-26 10:57 ` Diego Sueiro
2013-10-26 14:54 ` Bruce Ashfield
2013-10-28 20:58 ` Bruce Ashfield
2013-10-28 21:41 ` Mike Lewis
2013-10-29 10:33 ` Diego Sueiro
2013-10-29 11:00 ` Andrea Adami
2013-10-29 14:55 ` Diego Sueiro
2013-10-29 15:31 ` Diego Sueiro
2013-10-30 13:04 ` Bruce Ashfield
2013-10-30 13:54 ` Bruce Ashfield
2013-10-30 14:08 ` Diego Sueiro
2013-10-30 14:26 ` Bruce Ashfield
2013-11-04 3:14 ` Bruce Ashfield
2013-11-28 15:37 ` Diego Sueiro
2013-11-28 15:49 ` Bruce Ashfield
2013-11-28 16:26 ` Diego Sueiro
2013-11-28 16:28 ` Bruce Ashfield
2013-11-28 16:41 ` Paul Eggleton
2013-11-28 17:26 ` Bruce Ashfield
2013-10-30 7:57 ` Jukka Rissanen
2013-10-30 12:27 ` Bruce Ashfield
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=525FDD08.90400@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=bruce.ashfield@gmail.com \
--cc=diego.sueiro@gmail.com \
--cc=rstreif@linuxfoundation.org \
--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.