samsung-a5y17lte : use gcc6 for wifi module (MR 1698)
Fall back to gcc6, because wlan module compiled with gcc10 fails to initialize with `module wlan: overflow in relocation type 261 val ffffffbffc000000` error. Explicitly add gcc-aarch64 in makedepends, because of gcc6 present, seems like gcc dependencies not resolved correctly [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
29c004310f
commit
97a88d030b
1 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=linux-samsung-a5y17lte
|
pkgname=linux-samsung-a5y17lte
|
||||||
pkgver=3.18.14
|
pkgver=3.18.14
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Samsung Galaxy A5 (2017) kernel fork"
|
pkgdesc="Samsung Galaxy A5 (2017) kernel fork"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
_carch="arm64"
|
_carch="arm64"
|
||||||
|
@ -11,7 +11,7 @@ _flavor="samsung-a5y17lte"
|
||||||
url="https://kernel.org"
|
url="https://kernel.org"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
options="!strip !check !tracedeps pmb:cross-native"
|
options="!strip !check !tracedeps pmb:cross-native"
|
||||||
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev dtbtool-exynos"
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev dtbtool-exynos gcc6 gcc-aarch64"
|
||||||
|
|
||||||
# Source
|
# Source
|
||||||
_repository="android_kernel_samsung_universal7880"
|
_repository="android_kernel_samsung_universal7880"
|
||||||
|
@ -61,7 +61,9 @@ build_modules() {
|
||||||
(
|
(
|
||||||
set -a
|
set -a
|
||||||
source "$srcdir"/qcacld-2.0.config
|
source "$srcdir"/qcacld-2.0.config
|
||||||
make M=$_qcaclddir WLAN_ROOT=$_qcaclddir modules ARCH="$_carch" CC="${CC:-gcc}"
|
# Use GCC-6, because when compiled with GCC-10 it fails to initialize:
|
||||||
|
# "module wlan: overflow in relocation type 261 val ffffffbffc000000"
|
||||||
|
make M=$_qcaclddir WLAN_ROOT=$_qcaclddir modules ARCH="$_carch" CC="gcc6-${CC:-gcc}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue