# 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)" \
	AR="$(CROSS)ar" \
	--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)