samsung-apexq: kernel 3.4.104 with loadable modules working (!650)

linux-samsung-apexq/APKBUILD updated with newer kernel commit
sha from d2 repo, and now builds and packages modules into the
rootfs in /lib/modules/. prima wifi module not yet working.
This commit is contained in:
silver 2019-09-25 14:01:52 -07:00
parent 03136a5a80
commit bce5f4feec
No known key found for this signature in database
GPG key ID: C4280ACB000B060F

View file

@ -2,8 +2,8 @@
# Kernel config based on: arch/arm/configs/cyanogen_apexq_defconfig
pkgname="linux-samsung-apexq"
pkgver=3.4.103
pkgrel=1
pkgver=3.4.104
pkgrel=0
pkgdesc="Samsung Galaxy S Relay 4G kernel fork"
arch="armhf"
_carch="arm"
@ -19,7 +19,7 @@ HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
# Source
_repository="android_kernel_samsung_d2"
_commit="87f5fcaf7afef878914c3fcca2c2fd395f285902"
_commit="3795379ed3f846bf17908ff29576a93caff5d1d7"
_config="config-${_flavor}.${arch}"
source="
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/${_repository}/archive/${_commit}.tar.gz
@ -40,6 +40,9 @@ build() {
unset LDFLAGS
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
make ARCH="$_carch" CC="${CC:-gcc}" CFLAGS_MODULE="-fno-pic" \
KBUILD_BUILD_VERSION="$((pkgrel + 1))-postmarketOS" modules
}
package() {
@ -60,9 +63,14 @@ package() {
error "Could not find zImage in $PWD!"
return 1
fi
cd "$builddir"
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1))-postmarketOS" INSTALL_MOD_PATH="$pkgdir" \
modules_install
}
sha512sums="def44d20f43dc0af3a8ca4eb566294e782c4a1b587aea5b4ea92437799a1d93a12a650b4ebec863d4785fbb0fdf6aab42803401d6b3d0aec963c4957622a5122 linux-samsung-apexq-87f5fcaf7afef878914c3fcca2c2fd395f285902.tar.gz
sha512sums="04c629c36182d580e3410c35bc14a0899c1610a1535fe3832d1de441c0051a6fc78c5166933cc33036000fad45b80acddc4043c3aeae994e3e4f5eefe80215d3 linux-samsung-apexq-3795379ed3f846bf17908ff29576a93caff5d1d7.tar.gz
94a4a335ea001281392dce2348984e61183b291f95ce4c11bb08f919f1aa5dd6c7aea9fb5fcdafdd8e5f46756f100d13af78fea576ada86e44da381ee0948bbb config-samsung-apexq.armhf
edad59ee6defca3359fb3f1ba5cb6b933721bcc91a08dd21c842723d891545a8f08da1793623c79064c6a7e75daa434bb4fe052a56bc4e870f9f1efca165565a 01-fix-video-argb-setting.patch
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch