diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-09-16 15:29:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-19 23:57:20 +0100 |
commit | b7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6 (patch) | |
tree | 6b48e21c25f3b0d768c9b2fff40cb706aae0b37e /meta/recipes-core/dropbear | |
parent | 62e96283fe77469e24e8df86c6c037c92009b00a (diff) | |
download | openembedded-core-b7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6.tar.gz openembedded-core-b7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6.tar.bz2 openembedded-core-b7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6.zip |
dropbear: deterministic selection of system -vs- bundled libtom libs
Dropbear will use system versions of libtommath and libtomcrypt if
available. To make builds deterministic, add a PACKAGECONFIG option
to choose system libs or force use of the bundled versions.
Note that currently there are no libtommath or libtomcrypt recipes
in oe-core, so default to using the bundled versions.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index cdac7ec99d..bda7eb847c 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc @@ -45,6 +45,10 @@ SYSTEMD_SERVICE_${PN} = "dropbear.socket" SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" BINCOMMANDS = "dbclient ssh scp" EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' + +PACKAGECONFIG ?= "" +PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt" + EXTRA_OECONF += "\ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" |