[PATCHv3,5/7] Config.in: reintroduce BR2_SSH

Message ID 20190209202350.4984-5-patrickdepinguin@gmail.com
State Superseded
Headers show
Series
  • [PATCHv3,1/7] support/download: reintroduce 'source-check' target
Related show

Commit Message

Thomas De Schampheleire Feb. 9, 2019, 8:23 p.m.
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The BR2_SSH command was removed in commit
db9473bf6cd7bd12aa1f9faad0a917c973c33827 ("core/download: drop the SSH
command") but will be needed again to support 'source-check' for the scp
download backend.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 Config.in               | 4 ++++
 package/pkg-download.mk | 1 +
 2 files changed, 5 insertions(+)

v3: no changes

Patch

diff --git a/Config.in b/Config.in
index d58d8dc04a..91d56907fe 100644
--- a/Config.in
+++ b/Config.in
@@ -136,6 +136,10 @@  config BR2_SCP
 	string "Secure copy (scp) command"
 	default "scp"
 
+config BR2_SSH
+	string "Secure shell (ssh) command"
+	default "ssh"
+
 config BR2_HG
 	string "Mercurial (hg) command"
 	default "hg"
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 5384fc2af4..17d1ca99ee 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -15,6 +15,7 @@  export BZR := $(call qstrip,$(BR2_BZR))
 export GIT := $(call qstrip,$(BR2_GIT))
 export HG := $(call qstrip,$(BR2_HG))
 export SCP := $(call qstrip,$(BR2_SCP))
+export SSH := $(call qstrip,$(BR2_SSH))
 export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES))
 
 DL_WRAPPER = support/download/dl-wrapper