2017-04-07 13:53:02 +00:00
|
|
|
# dropbear is a tiny ssh client
|
|
|
|
modules-$(CONFIG_DROPBEAR) += dropbear
|
|
|
|
|
|
|
|
dropbear_version := 2016.74
|
|
|
|
dropbear_dir := dropbear-$(dropbear_version)
|
|
|
|
dropbear_tar := dropbear-$(dropbear_version).tar.bz2
|
|
|
|
dropbear_url := http://matt.ucc.asn.au/dropbear/releases/$(dropbear_tar)
|
|
|
|
dropbear_hash := 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
|
|
|
|
|
|
|
|
dropbear_configure := ./configure \
|
|
|
|
CC="$(heads_cc)" \
|
2017-04-07 15:19:44 +00:00
|
|
|
AR="$(CROSS)ar" \
|
2017-04-07 13:53:02 +00:00
|
|
|
--host i386-elf-linux \
|
|
|
|
--prefix "/" \
|
|
|
|
|
|
|
|
dropbear_config :=
|
|
|
|
dropbear_output := ssh scp
|
|
|
|
dropbear_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
dbclient scp \
|
|
|
|
&& \
|
|
|
|
cp $(build)/$(dropbear_dir)/dbclient $(build)/$(dropbear_dir)/ssh
|
|
|
|
|
|
|
|
dropbear_depends := zlib $(musl_dep)
|