summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass4
-rw-r--r--meta/conf/bitbake.conf1
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index d68ffbe848..d4b11bc7a8 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -553,6 +553,10 @@ python () {
for uri in srcuri.split():
(scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
+ # HTTP/FTP use the wget fetcher
+ if scheme in ("http", "https", "ftp"):
+ d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
+
# Svn packages should DEPEND on subversion-native
if scheme == "svn":
d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot')
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1a2f420c74..775c0c6617 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -179,6 +179,7 @@ ASSUME_PROVIDED = "\
texinfo-native \
bash-native \
sed-native \
+ wget-native \
"
# gzip-native should be listed above?