diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 44d99cfb97..d659b6940a 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -310,8 +310,9 @@ python copy_buildsystem () { | |||
310 | if os.path.exists(builddir + '/conf/auto.conf'): | 310 | if os.path.exists(builddir + '/conf/auto.conf'): |
311 | with open(builddir + '/conf/auto.conf', 'r') as f: | 311 | with open(builddir + '/conf/auto.conf', 'r') as f: |
312 | oldlines += f.readlines() | 312 | oldlines += f.readlines() |
313 | with open(builddir + '/conf/local.conf', 'r') as f: | 313 | if os.path.exists(builddir + '/conf/local.conf'): |
314 | oldlines += f.readlines() | 314 | with open(builddir + '/conf/local.conf', 'r') as f: |
315 | oldlines += f.readlines() | ||
315 | (updated, newlines) = bb.utils.edit_metadata(oldlines, varlist, handle_var) | 316 | (updated, newlines) = bb.utils.edit_metadata(oldlines, varlist, handle_var) |
316 | 317 | ||
317 | with open(baseoutpath + '/conf/local.conf', 'w') as f: | 318 | with open(baseoutpath + '/conf/local.conf', 'w') as f: |