diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /eclass/kernel-install.eclass | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 609afa754deb..3f98c4a53443 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -73,6 +73,7 @@ BDEPEND=" sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) + ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) )" @@ -161,6 +162,9 @@ kernel-install_get_qemu_arch() { arm64) echo aarch64 ;; + ppc) + echo ppc + ;; ppc64) echo ppc64 ;; @@ -295,6 +299,11 @@ kernel-install_test() { qemu_extra_args="-cpu max" qemu_extra_append="console=ttyS0,115200n8" ;; + ppc) + # https://wiki.qemu.org/Documentation/Platforms/PowerPC#Command_line_options + qemu_extra_args="-boot d -L pc-bios -M mac99,via=pmu" + qemu_extra_append="console=ttyS0,115200n8" + ;; ppc64) qemu_extra_args="-nodefaults" ;; |