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:
parent
c57f4985d7
commit
11d53cb13e
1 changed files with 3 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue