grub: enable open firmware platform for all ppc targets
[ci skip]
This commit is contained in:
parent
1cbdef1722
commit
a19279ae03
|
@ -0,0 +1 @@
|
||||||
|
grub
|
|
@ -36,13 +36,9 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
_NATIVE_PLATFORM=efi
|
_NATIVE_PLATFORM=efi
|
||||||
subpackages+=" grub-arm64-efi"
|
subpackages+=" grub-arm64-efi"
|
||||||
;;
|
;;
|
||||||
ppc64*)
|
ppc*)
|
||||||
# don't have a native platform for now, ieee1275 needs a compiler
|
_NATIVE_PLATFORM=ieee1275
|
||||||
# capable of generating big-endian 32-bit binaries; only build utils
|
subpackages+=" grub-powerpc-ieee1275"
|
||||||
# for now, so we can generate config files to be used by petitboot etc.
|
|
||||||
# TODO: look into building with the below later
|
|
||||||
#_NATIVE_PLATFORM=ieee1275
|
|
||||||
configure_args+=" --with-platform=none"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -184,3 +180,11 @@ grub-arm64-efi_package() {
|
||||||
vmove usr/lib/grub/arm64-efi
|
vmove usr/lib/grub/arm64-efi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
grub-powerpc-ieee1275_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="grub>=$version powerpc-utils"
|
||||||
|
short_desc+=" - powerpc Open Firmware support"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/grub/powerpc-ieee1275
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue