From 7426cfa1685efcd9b41748207183d1d9c1464b60 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 2 Jun 2018 14:29:00 +0200 Subject: build: added static-all target --- build-aux/build-static-all.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 build-aux/build-static-all.sh (limited to 'build-aux') diff --git a/build-aux/build-static-all.sh b/build-aux/build-static-all.sh new file mode 100755 index 0000000..dd7c243 --- /dev/null +++ b/build-aux/build-static-all.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -ex + +DESTDIR="${PN}-${TARGET}-${PV}" + +${MAKE_CMD:-make} LDFLAGS="-all-static" +${MAKE_CMD:-make} DESTDIR="${PWD}/root/${DESTDIR}" install +install -m 644 ../LICENSE "root/${DESTDIR}/LICENSE" + +pushd root > /dev/null +tar -cvJf "../${DESTDIR}.tar.xz" . +popd > /dev/null -- cgit v1.2.3-18-g5258