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