From 38de9074ff1effefa08bfc71471a97cd0658c10c Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 19 Apr 2018 00:11:14 -0400 Subject: Attempts to build zlib, libressl, dropbear, and... openssh with musl using the host's toolchain. I'm going to be moving to a toolchain specific to this system. Also changed how the kernel is installed, so it makes more sense. Fixed missing sources for many projects --- scripts/dropbear.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/dropbear.sh (limited to 'scripts/dropbear.sh') diff --git a/scripts/dropbear.sh b/scripts/dropbear.sh new file mode 100644 index 0000000..69e5fa3 --- /dev/null +++ b/scripts/dropbear.sh @@ -0,0 +1,17 @@ +#!/bin/sh +. ./.vars +export DESTDIR=$prefix +VERSION=2018.76 +BUILD_DIR="${build_dir}/dropbear-$VERSION" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfjv ${dist_dir}/dropbear-$VERSION.tar.bz2 +fi +cd "$BUILD_DIR" +export CC=musl-gcc +export DESTDIR="$prefix" +export LDFLAGS="-static" +./configure --prefix=/usr # --enable-static +make -j$(numproc) +make install + -- cgit v1.2.3