kore/misc/kore-build/build-kodev.sh
Joris Vink 8f743213aa Add my helper build scripts for building custom binaries.
Allows building Kore with several different component versions.

Eg:
	$ ./build-kore.sh 1.1.1h 3.9.0 7.72.0 1.41.0

	Will build Kore with OpenSSL 1.1.1h, Python 3.9.0, Curl 7.72.0
	and nghttp2 (for curl) 1.41.0
2020-10-08 13:53:48 +02:00

17 lines
270 B
Bash
Executable File

#!/bin/sh
set -e
. /home/build/env.sh
if [ $# -ne 4 ]; then
echo "Usage: build-kore.sh [openssl] [python] [curl] [nghttp2]"
exit 1
fi
export PATH=$FAKEROOT/Python-$2/bin:$FAKEROOT/curl-$3/bin:$PATH
export OPENSSL_PATH=$FAKEROOT/openssl-$1
kodev clean
kodev build