From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
To: Christopher Larson <clarson@kergoth.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 2/2] devtool: update-recipe: create config fragment
Date: Fri, 19 Feb 2016 11:21:07 +0200 [thread overview]
Message-ID: <1455873667.2298.0.camel@linux.intel.com> (raw)
In-Reply-To: <CABcZANmsXr=_Tim1MNpBcDxSJOu34THuzMejVo_bYm5e3XGOiA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]
On Thu, 2016-02-18 at 15:19 +0000, Christopher Larson wrote:
>
>
> On Thu, Feb 18, 2016 at 7:19 AM Markus Lehtonen <
> markus.lehtonen@linux.intel.com> wrote:
> > Create config fragment if the user makes modifications to kernel
> > config.
> > User may change .config e.g. by directly editing it or by running
> > the
> > 'do_menuconfig' bitbake task. Devtool generates one monolithic
> > fragment
> > by simply doing a diff between .config and .config.baseline files
> > in the
> > source directory. If either of these files is missing, the config
> > fragment is not gerenrated or updated. The output is a file,
> > 'devtool-fragment.cfg' that gets added to SRC_URI in the recipe (as
> > well
> > as copied into the 'oe-local-files' directory if that is present in
> > the
> > source tree).
> >
> > ${S}/.config will be a symlink to ${B}/.config. We need to do this
> > as
> > devtool is not able to access ${B} because ${B} is set in a
> > .bbappend in
> > the workspace layer which is not parsed by devtool itself.
> >
> > [YOCTO #8999]
> >
> > Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
> If the devtool-fragment.cfg already exists, what's the behavior? Will
> it update it with both the old and new changes, or will it create a
> second fragment?
Currently, it will update the existing fragment.
- Markus
[-- Attachment #2: Type: text/html, Size: 1743 bytes --]
prev parent reply other threads:[~2016-02-19 9:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 14:18 [PATCH v2 0/2] devtool: create kernel config fragment Markus Lehtonen
2016-02-18 14:18 ` [PATCH v2 1/2] devtool: sync: update kernel config Markus Lehtonen
2016-02-18 14:18 ` [PATCH v2 2/2] devtool: update-recipe: create config fragment Markus Lehtonen
2016-02-18 15:19 ` Christopher Larson
2016-02-19 9:21 ` Markus Lehtonen [this message]
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=1455873667.2298.0.camel@linux.intel.com \
--to=markus.lehtonen@linux.intel.com \
--cc=clarson@kergoth.com \
--cc=openembedded-core@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.