diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-12-29 11:14:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-30 09:21:42 +0000 |
commit | 8b8d46f31e85c0f962c0156d0aa062430fe32af8 (patch) | |
tree | 83c763a885fea2679fe89f9f4abea47cbba4cb77 /bitbake/lib | |
parent | b264f5629b4c9399c6e8e298121c6dba424b95fe (diff) | |
download | poky-8b8d46f31e85c0f962c0156d0aa062430fe32af8.tar.gz |
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 <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index ef8cd4d624..90090b2fe3 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): | |||
923 | """ | 923 | """ |
924 | var_res = {} | 924 | var_res = {} |
925 | for var in variables: | 925 | for var in variables: |
926 | var_res[var] = re.compile(r'^%s[ \t]*[?=]+' % var) | 926 | var_res[var] = re.compile(r'^%s[ \t]*[?+]*=' % var) |
927 | 927 | ||
928 | updated = False | 928 | updated = False |
929 | varset_start = '' | 929 | varset_start = '' |