aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/recipetool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-05-18 12:04:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:30:55 +0000
commit0f81b83fc5fd908efa7f6b837137830ca65f6ed6 (patch)
treef1f1de051c6500553080505d0d47c21509d3f623 /scripts/recipetool
parenta90ffea30c4578fd6acda2c5945b816ad33b13f5 (diff)
downloadopenembedded-core-contrib-0f81b83fc5fd908efa7f6b837137830ca65f6ed6.tar.gz
lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()
Use bb.utils.edit_metadata() to replace some of the logic in this function; this avoids us effectively having two implementations of the same thing. In the process fix the following issues: * Insert values before any leading comments for the next variable instead of after them * Insert overridden variables (e.g. RDEPENDS_${PN}) in the correct place * Properly handle replacing varflag settings (e.g. SRC_URI[md5sum]) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/recipetool')
0 files changed, 0 insertions, 0 deletions