mkrootfs: enable ppc support
This commit is contained in:
@ -173,6 +173,12 @@ register_binfmt() {
|
|||||||
_mask="\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"
|
_mask="\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"
|
||||||
QEMU_BIN=qemu-aarch64-static
|
QEMU_BIN=qemu-aarch64-static
|
||||||
;;
|
;;
|
||||||
|
ppc*)
|
||||||
|
_cpu=ppc
|
||||||
|
_magic="\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14"
|
||||||
|
_mask="\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"
|
||||||
|
QEMU_BIN=qemu-ppc-static
|
||||||
|
;;
|
||||||
mipsel*)
|
mipsel*)
|
||||||
_cpu=mipsel
|
_cpu=mipsel
|
||||||
_magic="\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00"
|
_magic="\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00"
|
||||||
|
@ -53,6 +53,7 @@ Supported architectures: i686, i686-musl, x86_64, x86_64-musl,
|
|||||||
armv5tel, armv5tel-musl, armv6l, armv6l-musl, armv7l, armv7l-musl
|
armv5tel, armv5tel-musl, armv6l, armv6l-musl, armv7l, armv7l-musl
|
||||||
aarch64, aarch64-musl,
|
aarch64, aarch64-musl,
|
||||||
mipsel, mipsel-musl
|
mipsel, mipsel-musl
|
||||||
|
ppc
|
||||||
|
|
||||||
|
|
||||||
Options
|
Options
|
||||||
|
Reference in New Issue
Block a user