diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_populate_mfgtool.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_populate_mfgtool.bbclass b/classes/image_populate_mfgtool.bbclass index 90226e35..ab5c78ef 100644 --- a/classes/image_populate_mfgtool.bbclass +++ b/classes/image_populate_mfgtool.bbclass | |||
@@ -61,7 +61,7 @@ do_populate_mfgtool[depends] += "uuu-bin:do_populate_sysroot" | |||
61 | 61 | ||
62 | python () { | 62 | python () { |
63 | depends = [] | 63 | depends = [] |
64 | deploy_files = [] | 64 | deploy_files = "" |
65 | scripts = (d.getVar('MFGTOOLCONFIG') or "").split() | 65 | scripts = (d.getVar('MFGTOOLCONFIG') or "").split() |
66 | scripts_and_flags = d.getVarFlags('MFGTOOLCONFIG') or {} | 66 | scripts_and_flags = d.getVarFlags('MFGTOOLCONFIG') or {} |
67 | for flag, flagval in sorted(scripts_and_flags.items()): | 67 | for flag, flagval in sorted(scripts_and_flags.items()): |
@@ -72,12 +72,12 @@ python () { | |||
72 | 72 | ||
73 | if flag in scripts: | 73 | if flag in scripts: |
74 | if num >= 2 and items[1]: | 74 | if num >= 2 and items[1]: |
75 | deploy_files.append(items[1]) | 75 | deploy_files += ' ' + items[1] |
76 | if num >= 1 and items[0]: | 76 | if num >= 1 and items[0]: |
77 | depends.append(items[0]) | 77 | depends.append(items[0]) |
78 | 78 | ||
79 | d.appendVarFlag('do_populate_mfgtool', 'depends', ' ' + ' '.join(depends)) | 79 | d.appendVarFlag('do_populate_mfgtool', 'depends', ' ' + ' '.join(depends)) |
80 | d.setVar('_SCRIPT_DEPLOY_FILES', ' '.join(deploy_files)) | 80 | d.setVar('_SCRIPT_DEPLOY_FILES', ' '.join(list(set(deploy_files.split())))) |
81 | } | 81 | } |
82 | 82 | ||
83 | python do_populate_mfgtool() { | 83 | python do_populate_mfgtool() { |