]> code.ossystems Code Review - openembedded-core.git/commit
devtool: update-recipe: create config fragment
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 18 Feb 2016 14:18:55 +0000 (16:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:34 +0000 (11:32 +0000)
commit524da136e5b837a60682516ac08f3092c635e934
treec319ead2c883154530b66a77c65a2a0be2547427
parentff895be7a46c4b3b1b791e5387490d90bb34fce2
devtool: update-recipe: create config fragment

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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py