diff --git a/device/main/device-qemu-loongarch64/APKBUILD b/device/main/device-qemu-loongarch64/APKBUILD index e75bc8d38..e597ef2b7 100644 --- a/device/main/device-qemu-loongarch64/APKBUILD +++ b/device/main/device-qemu-loongarch64/APKBUILD @@ -4,7 +4,7 @@ maintainer="Aelin " pkgname=device-qemu-loongarch64 pkgver=5 -pkgrel=2 +pkgrel=3 pkgdesc="Simulated device in QEMU (loongarch64)" url="https://postmarketos.org" arch="loongarch64" @@ -16,6 +16,7 @@ depends=" " makedepends="devicepkg-dev" subpackages=" + $pkgname-kernel-stable:kernel_stable $pkgname-kernel-mainline:kernel_mainline " @@ -33,6 +34,12 @@ package() { devicepkg_package $startdir $pkgname } +kernel_stable() { + pkgdesc="postmarketOS stable kernel" + depends="linux-postmarketos-stable linux-firmware-none" + devicepkg_subpackage_kernel $startdir $pkgname $subpkgname +} + kernel_mainline() { pkgdesc="postmarketOS mainline kernel" depends="linux-postmarketos-mainline linux-firmware-none"