diff options
-rw-r--r-- | main/grub/APKBUILD | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/grub/APKBUILD b/main/grub/APKBUILD index 8d0a307f10..f859f7037c 100644 --- a/main/grub/APKBUILD +++ b/main/grub/APKBUILD @@ -23,6 +23,7 @@ case "$CARCH" in x86) flavors="efi bios";; x86_64) flavors="efi bios xenhost";; aarch64|arm*) flavors="efi";; +mips*) flavors="qemu_mips";; ppc*) flavors="ieee1275"; makedepends="$makedepends powerpc-utils" ;; s390x) flavors="emu" ;; esac @@ -144,6 +145,13 @@ xenhost() { mv $pkgdir/*-xen.bin $subpkgdir/usr/lib/grub-xen/ } +qemu_mips() { + pkgdesc="$pkgdesc (QEMU MIPS version)" + depends="$pkgname" + mkdir -p $subpkgdir/usr/lib/grub + mv $pkgdir/usr/lib/grub/*-qemu_mips $subpkgdir/usr/lib/grub/ +} + ieee1275() { pkgdesc="$pkgdesc (IEEE1275 version)" depends="$pkgname powerpc-utils" |