From 75e18f5357fd4f9811bd9f032901c2e7c169436c Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 13 Jun 2018 00:01:25 +0200 Subject: build: static-all: remove base directory --- build-aux/build-static-all.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'build-aux') diff --git a/build-aux/build-static-all.sh b/build-aux/build-static-all.sh index f277d62..0cba1a3 100755 --- a/build-aux/build-static-all.sh +++ b/build-aux/build-static-all.sh @@ -2,12 +2,11 @@ set -ex -DESTDIR="${PN}-${TARGET}-amd64-${PV}" - ${MAKE_CMD:-make} LDFLAGS="-all-static" -${MAKE_CMD:-make} DESTDIR="${PWD}/root/${DESTDIR}" install -install -m 644 ../LICENSE "root/${DESTDIR}/LICENSE" +${MAKE_CMD:-make} DESTDIR="${PWD}/root" install +install -m 644 ../LICENSE root/LICENSE +echo "${PV}" > root/VERSION pushd root > /dev/null -tar -cvJf "../${DESTDIR}.tar.xz" "${DESTDIR}" +tar -cvJf "../${PN}-${TARGET}-amd64-${PV}.tar.xz" * popd > /dev/null -- cgit v1.2.3-18-g5258