diff options
Diffstat (limited to 'meta/classes/devtool-source.bbclass')
-rw-r--r-- | meta/classes/devtool-source.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index 1372e32c9e..a8110006fb 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass | |||
@@ -103,8 +103,10 @@ python devtool_post_unpack() { | |||
103 | for l in sccfile: | 103 | for l in sccfile: |
104 | line = l.split() | 104 | line = l.split() |
105 | if line and line[0] in ('kconf', 'patch'): | 105 | if line and line[0] in ('kconf', 'patch'): |
106 | local_files[line[-1]] = os.path.join(os.path.dirname(local_files[key]), line[-1]) | 106 | cfg = os.path.join(os.path.dirname(local_files[key]), line[-1]) |
107 | shutil.copy2(os.path.join(os.path.dirname(local_files[key]), line[-1]), workdir) | 107 | if not cfg in local_files.values(): |
108 | local_files[line[-1]] = cfg | ||
109 | shutil.copy2(cfg, workdir) | ||
108 | sccfile.close() | 110 | sccfile.close() |
109 | 111 | ||
110 | # Ignore local files with subdir={BP} | 112 | # Ignore local files with subdir={BP} |