@@ -670,6 +670,18 @@ python () {
d.appendVar("EXTRANATIVEPATH", ' python3-native ')
d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot')
+ elif uri.scheme == "gs":
+ d.appendVar("RECIPE_HOSTTOOLS", ' gsutil')
+
+ elif uri.scheme == "sftp":
+ d.appendVar("RECIPE_HOSTTOOLS", ' sftp')
+
+ elif uri.scheme == "ssh":
+ d.appendVar("RECIPE_HOSTTOOLS", ' ssh scp')
+
+ elif uri.scheme == "s3":
+ d.appendVar("RECIPE_HOSTTOOLS", ' aws')
+
# OSC packages should DEPEND on osc-native
elif uri.scheme == "osc":
d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
@@ -541,22 +541,7 @@ HOSTTOOLS += " \
"
# Link to these if present
-HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo"
-
-# Used by bzr fetcher
-HOSTTOOLS_NONFATAL += "bzr"
-
-# Used by ssh fetcher
-HOSTTOOLS_NONFATAL += "scp"
-
-# Used by Mercurial fetcher
-HOSTTOOLS_NONFATAL += "hg"
-
-# Used by gcp fetcher
-HOSTTOOLS_NONFATAL += "gsutil"
-
-# Link to git-lfs if present
-HOSTTOOLS_NONFATAL += "git-lfs"
+HOSTTOOLS_NONFATAL += "gcc-ar git-lfs gpg gpg-agent ld.bfd nc pigz socat sudo"
CCACHE ??= ""
Move several fetcher specific tools to become RECIPE_HOSTTOOLS (scp, ssh, sftp, aws, gsutil). This means errors are clearer, earlier for those with recipes that use them. It is assumed mercurial (hg) now comes from mecurial-native. ld.gold is being removed from binutils so we can drop. The bazaar fetcher (bzr) was dropped so the hosttool can be too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes-global/base.bbclass | 12 ++++++++++++ meta/conf/bitbake.conf | 17 +---------------- 2 files changed, 13 insertions(+), 16 deletions(-)