diff options
-rwxr-xr-x | build-aux/build-static-all.sh | 9 |
1 files changed, 4 insertions, 5 deletions
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 |