summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/setvar.py
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:32:04 +0000
commit1fbd76093dadd990dcb6ef8bd35659c73950cf7e (patch)
treeae6f5f9ea817ba02e721cceb9d2dda2227e2258a /scripts/lib/recipetool/setvar.py
parent0b850cb231231371b496ae5ee6f7571c3de2f448 (diff)
downloadpoky-1fbd76093dadd990dcb6ef8bd35659c73950cf7e.tar.gz
poky-1fbd76093dadd990dcb6ef8bd35659c73950cf7e.tar.bz2
poky-1fbd76093dadd990dcb6ef8bd35659c73950cf7e.zip
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]) (From OE-Core rev: 0f81b83fc5fd908efa7f6b837137830ca65f6ed6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/setvar.py')
0 files changed, 0 insertions, 0 deletions