From 94f460ba44e6d69101698ce045aed1d004eaf4c7 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Sun, 18 Jun 2017 21:17:00 +0200 Subject: [PATCH] Enabled module installing for the n900 kernel --- device-nokia-rx51/APKBUILD | 4 ++-- device-nokia-rx51/deviceinfo | 4 ++-- linux-nokia-rx51/APKBUILD | 8 +++++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/device-nokia-rx51/APKBUILD b/device-nokia-rx51/APKBUILD index 14cf5e6d5..f924c7ecb 100644 --- a/device-nokia-rx51/APKBUILD +++ b/device-nokia-rx51/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-nokia-rx51 pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="Nokia N900" url="https://github.com/postmarketOS" arch="noarch" @@ -26,6 +26,6 @@ package() { "$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}-backlight.sh } -sha512sums="314b4241c4f081006b7dc126d3d088ceb1c57b69791c13c7d7e1393dd3627bf01ad29a2f9fda475631a857900d6e90524d54f43c3efc7bf77a0e435975e1d0e8 deviceinfo +sha512sums="be1902838cc684fd988d3a3ae8782f053d4be62434505ca85f7d0064add4da06de81485068007c14283587b1d8459a1488025eeaf64876817bfe1c24ee1d9f13 deviceinfo 011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd 3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh" diff --git a/device-nokia-rx51/deviceinfo b/device-nokia-rx51/deviceinfo index 1e0a72a27..c750da91d 100644 --- a/device-nokia-rx51/deviceinfo +++ b/device-nokia-rx51/deviceinfo @@ -10,9 +10,9 @@ deviceinfo_keyboard="true" deviceinfo_nonfree="????" deviceinfo_dtb="" deviceinfo_modules="" -deviceinfo_modules_initfs="" +deviceinfo_modules_initfs="tsc2005 tsc200x-core omap_wdt twl4030_wdt" deviceinfo_external_disk="true" deviceinfo_external_disk_install="true" deviceinfo_flash_methods="0xFFFF" deviceinfo_generate_legacy_uboot_initfs="true" -deviceinfo_arch="armhf" \ No newline at end of file +deviceinfo_arch="armhf" diff --git a/linux-nokia-rx51/APKBUILD b/linux-nokia-rx51/APKBUILD index 8000f03e3..be5ac852e 100644 --- a/linux-nokia-rx51/APKBUILD +++ b/linux-nokia-rx51/APKBUILD @@ -20,7 +20,7 @@ case $pkgver in *.*.*) _kernver=${pkgver%.*};; *.*) _kernver=$pkgver;; esac -pkgrel=1 +pkgrel=2 arch="armhf" pkgdesc="Mainline Linux for the Nokia N900" url="https://github.com/pali/linux-n900" @@ -106,6 +106,12 @@ package() { install -D "$srcdir/build/include/config/kernel.release" \ "$pkgdir/usr/share/kernel/$_flavor/kernel.release" + + cd "$srcdir"/build + make -j1 modules_install firmware_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$pkgdir" \ + || return 1 } sha512sums="ad1288233893ce3de9c81f4672f4f2439c8d6665a0a0289f5cbe826fd08c69292de02a2fd9856dcd6d91c7f6930273319e1888bf0a146aee3a4e1ff50f6f7b19 linux-nokia-rx51-7b6fbfd899b4133e4f789843e5967beb139ec4d2.tar.gz