lzop workaround

This commit is contained in:
Antoine Martin 2023-04-22 21:14:59 -04:00
parent f942d3e29c
commit b5d80396fb
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,4 +1,5 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
@ -130,6 +131,10 @@ build() {
error "Version in Makefile ($_kver) does not correspond with pkgver ($pkgver)"
return 1
fi
# sometimes uses busybox lzop
alias lzop=/usr/bin/lzop
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine"
done