summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2018-03-28 10:38:27 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-28 17:38:11 +0200
commitcf9b5522d1f8488b1c7e74822eff9f3ac69d8821 (patch)
treea52a0d6b096d593764d612395e2036a728a2d0e2
parentb0aafef6198ee292c4f426295e92cc9b601c2338 (diff)
downloadbuildroot-cf9b5522d1f8488b1c7e74822eff9f3ac69d8821.tar.gz
buildroot-cf9b5522d1f8488b1c7e74822eff9f3ac69d8821.zip
dropbear: unbundle libtomath & libtomcrypt
DROPBEAR_SMALL_CODE could be only honored with bundled libtomcrypt Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/dropbear/Config.in1
-rw-r--r--package/dropbear/dropbear.mk5
2 files changed, 4 insertions, 2 deletions
diff --git a/package/dropbear/Config.in b/package/dropbear/Config.in
index 6700778161..5d6b83b6d1 100644
--- a/package/dropbear/Config.in
+++ b/package/dropbear/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_DROPBEAR
bool "dropbear"
select BR2_PACKAGE_ZLIB if !BR2_PACKAGE_DROPBEAR_SMALL
+ select BR2_PACKAGE_LIBTOMCRYPT if !BR2_PACKAGE_DROPBEAR_SMALL
help
A small SSH 2 server designed for small memory environments.
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index 10cb99b5e4..1da1a559a3 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -76,10 +76,11 @@ DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ENABLE_REVERSE_DNS
endif
ifeq ($(BR2_PACKAGE_DROPBEAR_SMALL),y)
-DROPBEAR_CONF_OPTS += --disable-zlib
+DROPBEAR_CONF_OPTS += --disable-zlib --enable-bundled-libtom
else
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED
-DROPBEAR_DEPENDENCIES += zlib
+DROPBEAR_DEPENDENCIES += zlib libtomcrypt
+DROPBEAR_CONF_OPTS += --disable-bundled-libtom
endif
ifneq ($(BR2_PACKAGE_DROPBEAR_WTMP),y)
OpenPOWER on IntegriCloud