From f5e57dc9fd3f1283a7ce7d520cccea2c1e73e8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B2=D0=BE=D0=B1=D0=BE=D0=B4=D0=BD=D1=8B=D0=B5=20?= =?UTF-8?q?=D0=9C=D0=BE=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=A2?= =?UTF-8?q?=D0=B5=D1=85=D0=BD=D0=BE=D0=BB=D0=BE=D0=B3=D0=B8=D1=8F?= Date: Thu, 6 Dec 2018 11:23:09 +0000 Subject: [PATCH] linux-samsung-i9003: install kernel modules (!98) The modules wl12xx, mac80211 and cfg80211.ko are assembled as modules, but due to the lack of the command 'make modules_install' in APKBUILD, these modules are not included in the finished package. Because of this, it was impossible to launch Wi-Fi on Samsung-i9003. --- device/linux-samsung-i9003/APKBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/device/linux-samsung-i9003/APKBUILD b/device/linux-samsung-i9003/APKBUILD index 9786236b7..10c709765 100644 --- a/device/linux-samsung-i9003/APKBUILD +++ b/device/linux-samsung-i9003/APKBUILD @@ -24,7 +24,7 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=$pkgver;; esac -pkgrel=13 +pkgrel=14 arch="armhf" pkgdesc="Samsung Galaxy SI SLC kernel" url="https://github.com/dhiru1602/android_kernel_samsung_latona" @@ -114,7 +114,8 @@ build() { unset LDFLAGS make ARCH="$_carch" CC="${CC:-gcc}" \ - KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" + KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" \ + CFLAGS_MODULE=-fno-pic } package() { @@ -123,6 +124,14 @@ package() { install -D "$srcdir/build/include/config/kernel.release" \ "$pkgdir/usr/share/kernel/$_flavor/kernel.release" + + cd "$srcdir"/build + unset LDFLAGS + + echo "--[ Installing modules ]--" + make ARCH="$_carch" CC="${CC:-gcc}" \ + KBUILD_BUILD_VERSION="$((pkgrel + 1))-Alpine" \ + INSTALL_MOD_PATH="$pkgdir" modules_install } sha512sums="b7ca46b856a0c160ae36a98da39147deb85c054e902447ab68bcd4a011986eee486fb681d0bb832b9b57797aca35332483e99379b792bd467b1f030328bd83c7 linux-samsung-i9003-7b8d73dd32e6cd21107f9a963a32a5ed237a6e78.tar.gz