summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/externalsrc.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 26c5803ee6..b00fdba8e9 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -68,9 +68,7 @@ python () {
68 for url in fetch.urls: 68 for url in fetch.urls:
69 url_data = fetch.ud[url] 69 url_data = fetch.ud[url]
70 parm = url_data.parm 70 parm = url_data.parm
71 if (url_data.type == 'file' or 71 if url_data.type in ['file', 'npmsw', 'crate'] or parm.get('type') in ['kmeta', 'git-dependency']:
72 url_data.type == 'npmsw' or url_data.type == 'crate' or
73 'type' in parm and parm['type'] == 'kmeta'):
74 local_srcuri.append(url) 72 local_srcuri.append(url)
75 73
76 d.setVar('SRC_URI', ' '.join(local_srcuri)) 74 d.setVar('SRC_URI', ' '.join(local_srcuri))