linux-postmarketos: change kernel suffix to -postmarketOS (fixes #497) (#521)

See https://github.com/postmarketOS/pmbootstrap/pull/521#issuecomment-327919994 for an explanation, why we didn't touch CONFIG_LOCALVERSION instead.
This commit is contained in:
Pablo Castellano 2017-09-08 00:29:15 +02:00 committed by Oliver Smith
parent c57f4985d7
commit 11d53cb13e

View file

@ -18,7 +18,7 @@ case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
pkgrel=0
pkgrel=1
arch="all"
pkgdesc="Mainline Linux for pmOS supported chipsets (OMAP)"
@ -102,9 +102,8 @@ build() {
cd "$srcdir"/build
unset LDFLAGS
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \
CFLAGS_MODULE=-fno-pic \
|| return 1
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \
CFLAGS_MODULE=-fno-pic
}
package() {