All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Glenn Schmottlach <gschmottlach@gmail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: Trouble modifying defconfig for linux-ti-staging_rt recipe
Date: Mon, 20 Mar 2017 17:08:02 -0400	[thread overview]
Message-ID: <20170320210801.GB24585@edge> (raw)
In-Reply-To: <CAMS2kBHk15OszF0wTbLKyKGG6j+pv2dnm7oC28F2YF1htpebBw@mail.gmail.com>

On Mon, Mar 20, 2017 at 04:59:30PM -0400, Glenn Schmottlach wrote:
> > So, beaglebone.conf sets up SOC_FAMILY to use "ti33x" override, hence it uses
> > defconfig in the corresponding ti33x directory. And that defconfig is just a
> > redirect to "ti_sdk_am3x_release" entry in the map file I explain below.
> >
> > That said, since you prepend to FILESEXTRAPATHS and provide your own full
> > defconfig, I expect it to take precedence and overwrite everything our recipe
> > does - so not sure what didn't work here in your case...
> >
> 
> I had hoped just adding a full defconfig to the SRC_URI in my
> *.bbappend file would've overwritten the one generated by the TI
> kernel recipe but unfortunately (at least in my situation) my custom
> defconfig got clobbered by the default one for the BBB. I dumped the
> SRC_URI (bitbake -e linux-ti-staging-rt | grep SRC_URI=) and it
> contained two defconfig's so it was not entirely clear which one was
> being applied last. The KERNEL_CONFIG_FRAGMENTS trick gets my by my
> initial issue but I hope I won't get to the point of needing my own
> custom defconfig. Wish I understood why mine didn't take . . . sort of
> bothers me given that you said it should have overwritten the default.

Yeah, SRC_URI already contains "defconfig" entry, thus no need to add it the 
second time in your bbappend. Just doing the standard FILESEXTRAPATHS_prepend 
trick in your bbappend should be enough to get it loaded in place of standard 
meta-ti config stuff.

What is your layer's BBFILE_PRIORITY? And where exactly do you add it to 
BBLAYERS list in your conf/bblayers.conf file?

-- 
Denys


  reply	other threads:[~2017-03-20 21:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20 15:44 Trouble modifying defconfig for linux-ti-staging_rt recipe Glenn Schmottlach
2017-03-20 15:45 ` Florian Wickert
2017-03-20 15:54 ` Denys Dmytriyenko
2017-03-20 18:14   ` Glenn Schmottlach
2017-03-20 20:15     ` Denys Dmytriyenko
2017-03-20 20:59       ` Glenn Schmottlach
2017-03-20 21:08         ` Denys Dmytriyenko [this message]
2017-03-21 11:52           ` Glenn Schmottlach
2017-03-21 17:45             ` Denys Dmytriyenko
2017-03-22 19:41               ` Glenn Schmottlach
2017-03-22 19:50                 ` Denys Dmytriyenko

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=20170320210801.GB24585@edge \
    --to=denys@ti.com \
    --cc=gschmottlach@gmail.com \
    --cc=meta-ti@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.