mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 05:53:14 +00:00
07eb5e9717
Each of the submodule configuration files defined a subset of the cross compiler tools that it used and many were picking up the system `ar`, `nm`, `strip, `ld`, etc. They all now use a `Makefile` macro that defines the path to the proper cross compiler tools. For ones that need the tools, but not the musl-libc gcc, there is $(CROSS_TOOLS_NOCC) that is all of them without gcc. This is for musl-libc itself, as well as xen and the Linux kernel.
26 lines
703 B
Plaintext
26 lines
703 B
Plaintext
# 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 \
|
|
$(CROSS_TOOLS) \
|
|
--host i386-elf-linux \
|
|
--prefix "/" \
|
|
|
|
dropbear_config :=
|
|
dropbear_output := ssh scp
|
|
dropbear_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
dbclient scp \
|
|
&& \
|
|
cp $(build)/$(dropbear_dir)/dbclient $(build)/$(dropbear_dir)/ssh
|
|
|
|
dropbear_depends := zlib $(musl_dep)
|