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: Tue, 21 Mar 2017 13:45:23 -0400	[thread overview]
Message-ID: <20170321174523.GA25961@edge> (raw)
In-Reply-To: <CAMS2kBF=V3pk9dy6zruOTtyYX=Ajsm-jvkFLJjA2xfn+KTrOHw@mail.gmail.com>

On Tue, Mar 21, 2017 at 07:52:41AM -0400, Glenn Schmottlach wrote:
> >> 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?
> >
> 
> I set my BBFILE_PRIORITY to "8" which is higher than meta-ti ("6") so
> I would've thought it takes precedence over meta-ti recipes. My layer
> is referenced in bblayers.conf and the layer's "conf/layer.conf" looks
> like this:
> 
> =====================================================
> 
> # We have a conf and classes directory, append to BBPATH
> BBPATH .= ":${LAYERDIR}"
> 
> # We have a recipes directory, add to BBFILES
> BBFILES += "${LAYERDIR}/recipes*/*/*.bb
> ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/images/*.bb"
> 
> BBFILE_COLLECTIONS += "meta-acme"
> BBFILE_PATTERN_meta-acme := "^${LAYERDIR}/"
> BBFILE_PRIORITY_meta-acme = "8"
> 
> =======================================================
> 
> Pretty standard stuff. It's definitely finding my recipes so I don't
> think that's an issue. What do you suspect might be going on?

Looks good... Can you try moving your defconfig into "ti33x" folder?

recipes-kernel/linux/linux-ti-staging-rt_%.bbappend
recipes-kernel/linux/linux-ti-staging-rt/ti33x/defconfig

-- 
Denys


  reply	other threads:[~2017-03-21 17:45 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
2017-03-21 11:52           ` Glenn Schmottlach
2017-03-21 17:45             ` Denys Dmytriyenko [this message]
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=20170321174523.GA25961@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.