spec: Add support for the ppc64le platform
Add support for the powerpc platform of ppc64le. Signed-off-by: JianChunfu <chunfu.jian@shingroup.cn>
This commit is contained in:
parent
037bfea747
commit
95d9ef98ff
34
qemu.spec
34
qemu.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 6.2.0
|
Version: 6.2.0
|
||||||
Release: 84
|
Release: 85
|
||||||
Epoch: 10
|
Epoch: 10
|
||||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||||
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
||||||
@ -947,6 +947,12 @@ Requires: qemu
|
|||||||
%description system-x86_64
|
%description system-x86_64
|
||||||
This package provides the QEMU system emulator for x86_64.
|
This package provides the QEMU system emulator for x86_64.
|
||||||
|
|
||||||
|
%package system-ppc64
|
||||||
|
Summary: Qemu-system-ppc64
|
||||||
|
Requires: qemu
|
||||||
|
%description system-ppc64
|
||||||
|
This package provides the QEMU system emulator for ppc64le.
|
||||||
|
|
||||||
%package system-riscv
|
%package system-riscv
|
||||||
Summary: Qemu-system-riscv32, Qemu-system-riscv64
|
Summary: Qemu-system-riscv32, Qemu-system-riscv64
|
||||||
Requires: qemu
|
Requires: qemu
|
||||||
@ -973,6 +979,11 @@ buildarch="aarch64-softmmu"
|
|||||||
targetarch="x86_64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu"
|
targetarch="x86_64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
buildarch="ppc64-softmmu"
|
||||||
|
targetarch="x86_64-softmmu aarch64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu"
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch loongarch64
|
%ifarch loongarch64
|
||||||
buildarch="loongarch64-softmmu"
|
buildarch="loongarch64-softmmu"
|
||||||
targetarch="x86_64-softmmu aarch64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu"
|
targetarch="x86_64-softmmu aarch64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu"
|
||||||
@ -1093,18 +1104,20 @@ chmod -x %{buildroot}%{_mandir}/man1/*
|
|||||||
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios-ati.bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/vgabios-ati.bin
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/bios-microvm.bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/bios-microvm.bin
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-*
|
rm -rf %{buildroot}%{_datadir}/%{name}/openbios-*
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
|
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,*.bin
|
rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,*.bin
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/bamboo.dtb
|
rm -rf %{buildroot}%{_datadir}/%{name}/bamboo.dtb
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/canyonlands.dtb
|
rm -rf %{buildroot}%{_datadir}/%{name}/canyonlands.dtb
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/hppa-firmware.img
|
rm -rf %{buildroot}%{_datadir}/%{name}/hppa-firmware.img
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/palcode-clipper
|
rm -rf %{buildroot}%{_datadir}/%{name}/palcode-clipper
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/petalogix-*
|
rm -rf %{buildroot}%{_datadir}/%{name}/petalogix-*
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/ppc_*
|
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/qemu_vga.ndrv
|
rm -rf %{buildroot}%{_datadir}/%{name}/qemu_vga.ndrv
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/s390-*
|
rm -rf %{buildroot}%{_datadir}/%{name}/s390-*
|
||||||
|
%ifnarch ppc64le
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid
|
rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/spapr-*
|
rm -rf %{buildroot}%{_datadir}/%{name}/spapr-*
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{name}/ppc_*
|
||||||
|
%endif
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot*
|
rm -rf %{buildroot}%{_datadir}/%{name}/u-boot*
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/core3-hmcode
|
rm -rf %{buildroot}%{_datadir}/%{name}/core3-hmcode
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/core3-reset
|
rm -rf %{buildroot}%{_datadir}/%{name}/core3-reset
|
||||||
@ -1134,6 +1147,9 @@ rm -rf %{buildroot}%{_libdir}/%{name}/ui-spice-core.so
|
|||||||
rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu
|
rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
|
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
|
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json
|
||||||
|
%ifarch ppc64le
|
||||||
|
rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv*.elf
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with rbd}
|
%if %{with rbd}
|
||||||
strip %{buildroot}%{_libdir}/%{name}/block-rbd.so
|
strip %{buildroot}%{_libdir}/%{name}/block-rbd.so
|
||||||
@ -1268,11 +1284,20 @@ getent passwd qemu >/dev/null || \
|
|||||||
%{_datadir}/%{name}/sgabios.bin
|
%{_datadir}/%{name}/sgabios.bin
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%files system-ppc64
|
||||||
|
%{_bindir}/qemu-system-ppc64
|
||||||
|
%{_datadir}/%{name}/slof.bin
|
||||||
|
%{_datadir}/%{name}/skiboot.lid
|
||||||
|
%endif
|
||||||
|
|
||||||
%files system-riscv
|
%files system-riscv
|
||||||
%{_bindir}/qemu-system-riscv32
|
%{_bindir}/qemu-system-riscv32
|
||||||
%{_bindir}/qemu-system-riscv64
|
%{_bindir}/qemu-system-riscv64
|
||||||
%{_datadir}/%{name}/opensbi-riscv*.bin
|
%{_datadir}/%{name}/opensbi-riscv*.bin
|
||||||
|
%ifnarch ppc64le
|
||||||
%{_datadir}/%{name}/opensbi-riscv*.elf
|
%{_datadir}/%{name}/opensbi-riscv*.elf
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch loongarch64
|
%ifarch loongarch64
|
||||||
%files system-loongarch64
|
%files system-loongarch64
|
||||||
@ -1358,6 +1383,9 @@ getent passwd qemu >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 1 2023 <chunfu.jian@shingroup.cn> - 10:6.2.0-85
|
||||||
|
- spec: Add support for the ppc64le platform
|
||||||
|
|
||||||
* Tue Nov 28 2023 <fengjiabo1@huawei.com> - 10:6.2.0-84
|
* Tue Nov 28 2023 <fengjiabo1@huawei.com> - 10:6.2.0-84
|
||||||
- hw/arm/fsl-imx: Do not ignore Error argument
|
- hw/arm/fsl-imx: Do not ignore Error argument
|
||||||
- hw/net/cadence_gem.c: spelling fixes: Octects
|
- hw/net/cadence_gem.c: spelling fixes: Octects
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user