diff --git a/device/testing/linux-kobo-clara-mainline/APKBUILD b/device/testing/linux-kobo-clara-mainline/APKBUILD index 8851e09d7..a447fce5c 100644 --- a/device/testing/linux-kobo-clara-mainline/APKBUILD +++ b/device/testing/linux-kobo-clara-mainline/APKBUILD @@ -2,7 +2,7 @@ pkgname=linux-kobo-clara-mainline pkgver=5.12.0 -pkgrel=0 +pkgrel=1 pkgdesc="Kobo Clara HD kernel fork, close to mainline" arch="armv7" _carch="arm" @@ -28,13 +28,17 @@ makedepends=" # Source _repository="linux" _commit="4dd67a97287964010bdae4751cb965bf118c14d7" +_rtl8189fs_repository="rtl8189ES_linux" +_rtl8189fs_commit="62c31d577c385316bb99107f60e63169dacc37db" _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/akemnade/$_repository/archive/$_commit.tar.gz + $_rtl8189fs_repository-$_rtl8189fs_commit.tar.gz::https://github.com/jwrdegoede/$_rtl8189fs_repository/archive/$_rtl8189fs_commit.tar.gz $_config " builddir="$srcdir/$_repository-$_commit" _outdir="out" +_rtl8189fs_dir="$srcdir/$_rtl8189fs_repository-$_rtl8189fs_commit" prepare() { REPLACE_GCCH=0 @@ -46,18 +50,22 @@ build() { unset LDFLAGS make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ KBUILD_BUILD_VERSION="$(( pkgrel + 1 ))-postmarketOS" + make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$(( pkgrel + 1 ))-postmarketOS" \ + -C "$_rtl8189fs_dir" KSRC="$builddir" } package() { downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir" make modules_install dtbs_install \ - O="$_outdir" \ - ARCH="$_carch" \ + O="$_outdir" ARCH="$_carch" \ INSTALL_MOD_PATH="$pkgdir" \ INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb" + install -Dm644 "$_rtl8189fs_dir"/8189fs.ko "$pkgdir/lib/modules/$pkgver/kernel/drivers/net/wireless" } sha512sums=" 7a2a2f5817eae9e8917b60a92c041912c0073e7f6aa48664a4b399e7d39a8f790d9ab020384bcc12d85d973b1879cadffc0a266885d7584a8a631b680c170acf linux-kobo-clara-mainline-4dd67a97287964010bdae4751cb965bf118c14d7.tar.gz +c7ffab0eaed9c57fb32cbfc01c47c1ed5c7c8c3a36633c93e43a61bb42f107687d0ccd8855e61b86fc04dcffcd7b2116cf57e2fe4b6ce17522fa68d1c1cc89a0 rtl8189ES_linux-62c31d577c385316bb99107f60e63169dacc37db.tar.gz 256971be31b2ecf3a4c41c047f7c8eb6e8255a1c275fe1c86e13f96139f454db8d5c1998b7be4aa0f67dcc93e0a5ec2fd7b3526e6e60afab72e44a33be42c8f0 config-kobo-clara-mainline.armv7 "