From 8b8d46f31e85c0f962c0156d0aa062430fe32af8 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 29 Dec 2014 11:14:27 +0000 Subject: bitbake: utils: make edit_metadata_file() handle VARIABLE += This is a little crude as the usage basically ignores that you're doing an append operation, but for a lot of cases it will be sufficient. (Bitbake rev: 24a28205ab680b6cc645d97b76c9855920608229) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/lib/bb/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index ef8cd4d..90090b2 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -923,7 +923,7 @@ def edit_metadata_file(meta_file, variables, func): """ var_res = {} for var in variables: - var_res[var] = re.compile(r'^%s[ \t]*[?=]+' % var) + var_res[var] = re.compile(r'^%s[ \t]*[?+]*=' % var) updated = False varset_start = '' -- cgit v1.1