mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
a4ba76fd90
Just some minor clean ups like fixing whitespace and sorting things. I added (bash)/removed (libusb) white space in order to look like the other modules. I sorted the --enable/--disable/--with blocks so that common stuff looked similar which should aid in comparing modules. I also removed a couple of duplicate config options (--disable-fallback-curses & --disable-regex). Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
31 lines
830 B
Makefile
31 lines
830 B
Makefile
# 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 := https://mirror.dropbear.nl/mirror/releases/$(dropbear_tar)
|
|
dropbear_hash := 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
|
|
|
|
dropbear_configure := ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix "/" \
|
|
--disable-lastlog \
|
|
--disable-syslog \
|
|
--disable-utmp \
|
|
--disable-utmpx \
|
|
--disable-wtmp \
|
|
--disable-wtmpx \
|
|
|
|
dropbear_output := ssh scp dropbear
|
|
dropbear_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
dbclient scp dropbear \
|
|
&& \
|
|
cp -a $(build)/$(dropbear_dir)/dbclient $(build)/$(dropbear_dir)/ssh
|
|
|
|
dropbear_depends := zlib $(musl_dep)
|