The ssh symlink was still being created even when dbclient was disabled in the
build configuration. Fix this annoyance.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
CATEGORY:=Base system
TITLE:=Small SSH2 client/server
DEPENDS:= +DROPBEAR_ZLIB:zlib
- ALTERNATIVES:=\
- 100:/usr/bin/ssh:/usr/sbin/dropbear \
- 100:/usr/bin/scp:/usr/sbin/dropbear \
+ ALTERNATIVES:=100:/usr/bin/scp:/usr/sbin/dropbear
+ $(if $(CONFIG_DROPBEAR_DBCLIENT),ALTERNATIVES+= \
+ 100:/usr/bin/ssh:/usr/sbin/dropbear,)
endef