[Buildroot] [PATCH 3/3] dropbear: use libtomath & libtomcrypt

François Perrad francois.perrad at gadz.org
Fri Apr 1 09:14:53 UTC 2016


2016-04-01 10:42 GMT+02:00 Baruch Siach <baruch at tkos.co.il>:
> Hi Francois,
>
> On Fri, Apr 01, 2016 at 10:07:10AM +0200, Francois Perrad wrote:
>> +ifeq ($(BR2_PACKAGE_LIBTOMMATH)$(BR2_PACKAGE_LIBTOMCRYPT),yy)
>> +DROPBEAR_DEPENDENCIES += libtommath libtomcrypt
>
> Does dropbear code use libtommath directly? If not, listing only libtomcrypt
> should be enough. The check for BR2_PACKAGE_LIBTOMMATH can also be dropped in
> this case.
>

The configure script of dropbear checks the presence of both libraries
: libtommath and libtomcrypt.
See https://github.com/mkj/dropbear/blob/master/configure.ac#L391

François

>> +DROPBEAR_CONF_OPTS += --disable-bundled-libtom
>> +else
>> +DROPBEAR_CONF_OPTS += --enable-bundled-libtom
>> +endif
>> +
>>  ifeq ($(BR2_PACKAGE_DROPBEAR_CLIENT),y)
>>  # Build dbclient, and create a convenience symlink named ssh
>>  DROPBEAR_PROGRAMS += dbclient
>
> baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list