From 227d8f76248009097d36d912bd7b951a71cf1e57 Mon Sep 17 00:00:00 2001 From: Linux User Date: Thu, 9 Jan 2025 00:50:15 +0000 Subject: [PATCH] update rootpkg --- pmos/linux-pine64-pinenote/APKBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pmos/linux-pine64-pinenote/APKBUILD b/pmos/linux-pine64-pinenote/APKBUILD index ca43429..68b254e 100644 --- a/pmos/linux-pine64-pinenote/APKBUILD +++ b/pmos/linux-pine64-pinenote/APKBUILD @@ -31,23 +31,26 @@ source=" $_config " builddir="$srcdir/$_repository-$_commit" -_outdir="out" prepare() { default_prepare - export REPLACE_GCCH=0 - . downstreamkernel_prepare + REPLACE_GCCH=0 \ + . downstreamkernel_prepare } build() { unset LDFLAGS - make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \ + make ARCH="$_carch" CC="${CC:-gcc}" \ KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" } package() { - downstreamkernel_package "$builddir" "$pkgdir" "$_carch" \ - "$_flavor" "$_outdir" + downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" + + make modules_install dtbs_install \ + ARCH="$_carch" \ + INSTALL_MOD_PATH="$pkgdir" \ + INSTALL_DTBS_PATH="$pkgdir/boot/dtbs" } sha512sums="