forked from ports/contrib
qemu-x86x-arm-riscv: new port
This commit is contained in:
parent
5507cda061
commit
7eafdfff17
176
qemu-x86x-arm-riscv/.footprint
Normal file
176
qemu-x86x-arm-riscv/.footprint
Normal file
@ -0,0 +1,176 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/udev/
|
||||
drwxr-xr-x root/root etc/udev/rules.d/
|
||||
-rw-r--r-- root/root etc/udev/rules.d/60-kvm.rules
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/elf2dmp
|
||||
-rwxr-xr-x root/root usr/bin/qemu-aarch64
|
||||
-rwxr-xr-x root/root usr/bin/qemu-aarch64_be
|
||||
-rwxr-xr-x root/root usr/bin/qemu-arm
|
||||
-rwxr-xr-x root/root usr/bin/qemu-armeb
|
||||
-rwxr-xr-x root/root usr/bin/qemu-edid
|
||||
-rwxr-xr-x root/root usr/bin/qemu-ga
|
||||
-rwxr-xr-x root/root usr/bin/qemu-i386
|
||||
-rwxr-xr-x root/root usr/bin/qemu-img
|
||||
-rwxr-xr-x root/root usr/bin/qemu-io
|
||||
-rwxr-xr-x root/root usr/bin/qemu-nbd
|
||||
-rwxr-xr-x root/root usr/bin/qemu-pr-helper
|
||||
-rwxr-xr-x root/root usr/bin/qemu-riscv32
|
||||
-rwxr-xr-x root/root usr/bin/qemu-riscv64
|
||||
-rwxr-xr-x root/root usr/bin/qemu-storage-daemon
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-aarch64
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-arm
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-i386
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-riscv32
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-riscv64
|
||||
-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
|
||||
-rwxr-xr-x root/root usr/bin/qemu-x86_64
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/qemu/
|
||||
-rwxr-xr-x root/root usr/lib/qemu/qemu-bridge-helper
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/qemu.desktop
|
||||
drwxr-xr-x root/root usr/share/icons/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/qemu.bmp
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/512x512/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/512x512/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/512x512/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/64x64/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/64x64/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/64x64/apps/qemu.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/qemu.svg
|
||||
drwxr-xr-x root/root usr/share/qemu/
|
||||
-rw-r--r-- root/root usr/share/qemu/QEMU,cgthree.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/QEMU,tcx.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/bamboo.dtb
|
||||
-rw-r--r-- root/root usr/share/qemu/bios-256k.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/bios-microvm.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/bios.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/canyonlands.dtb
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-aarch64-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-arm-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-arm-vars.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-i386-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-i386-secure-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-i386-vars.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-licenses.txt
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-x86_64-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/edk2-x86_64-secure-code.fd
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-e1000.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-e1000e.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-eepro100.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-ne2k_pci.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-pcnet.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-rtl8139.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-virtio.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/efi-vmxnet3.rom
|
||||
drwxr-xr-x root/root usr/share/qemu/firmware/
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-i386-secure.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-x86_64-secure.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-aarch64.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-arm.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-i386.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-x86_64.json
|
||||
-rw-r--r-- root/root usr/share/qemu/hppa-firmware.img
|
||||
drwxr-xr-x root/root usr/share/qemu/keymaps/
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/ar
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/bepo
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/cz
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/da
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/de
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/de-ch
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/en-gb
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/en-us
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/es
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/et
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fi
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fo
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fr
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fr-be
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fr-ca
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/fr-ch
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/hr
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/hu
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/is
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/it
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/ja
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/lt
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/lv
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/mk
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/nl
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/no
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/pl
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/pt
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/pt-br
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/ru
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/sl
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/sv
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/th
|
||||
-rw-r--r-- root/root usr/share/qemu/keymaps/tr
|
||||
-rw-r--r-- root/root usr/share/qemu/kvmvapic.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/linuxboot.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/linuxboot_dma.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/multiboot.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/npcm7xx_bootrom.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/openbios-ppc
|
||||
-rw-r--r-- root/root usr/share/qemu/openbios-sparc32
|
||||
-rw-r--r-- root/root usr/share/qemu/openbios-sparc64
|
||||
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.elf
|
||||
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.elf
|
||||
-rw-r--r-- root/root usr/share/qemu/palcode-clipper
|
||||
-rw-r--r-- root/root usr/share/qemu/petalogix-ml605.dtb
|
||||
-rw-r--r-- root/root usr/share/qemu/petalogix-s3adsp1800.dtb
|
||||
-rw-r--r-- root/root usr/share/qemu/pvh.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-e1000.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-eepro100.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-ne2k_pci.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-pcnet.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-rtl8139.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/pxe-virtio.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/qboot.rom
|
||||
-rw-r--r-- root/root usr/share/qemu/qemu-nsis.bmp
|
||||
-rw-r--r-- root/root usr/share/qemu/qemu_vga.ndrv
|
||||
-rw-r--r-- root/root usr/share/qemu/s390-ccw.img
|
||||
-rw-r--r-- root/root usr/share/qemu/s390-netboot.img
|
||||
-rw-r--r-- root/root usr/share/qemu/sgabios.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/skiboot.lid
|
||||
-rw-r--r-- root/root usr/share/qemu/slof.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/trace-events-all
|
||||
-rw-r--r-- root/root usr/share/qemu/u-boot-sam460-20100605.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/u-boot.e500
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-ati.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-bochs-display.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-cirrus.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-qxl.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-ramfb.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-stdvga.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-virtio.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios-vmware.bin
|
||||
-rw-r--r-- root/root usr/share/qemu/vgabios.bin
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/run/
|
5
qemu-x86x-arm-riscv/.signature
Normal file
5
qemu-x86x-arm-riscv/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/stenur.pub
|
||||
RWQEMWjN1NA430IxHhBlDV1gZ/LVz/GMDelVAPVCCiRGanm6n0v09mdIvwN3st+w1PEBLLcpFgNsMyucyp1CTQLxnBGkAAssVwc=
|
||||
SHA256 (Pkgfile) = 83c0a2199f9dc4e62756d3c1f1f18017fec08cfb8f9cad6e3a2e931d0af085b3
|
||||
SHA256 (.footprint) = bb1baabee75c86290afc580f1ead6e53cf4b48e689349459d66c8caa8c556f8f
|
||||
SHA256 (qemu-5.2.0.tar.bz2) = 7bd9334c02edaf02f5b0b52beb19fe7f72556c3ca0180e20f0095f0ef2f25f14
|
49
qemu-x86x-arm-riscv/Pkgfile
Normal file
49
qemu-x86x-arm-riscv/Pkgfile
Normal file
@ -0,0 +1,49 @@
|
||||
# Description: Fast CPU emulator and virtualizer for x86(_64), ARM and RISCV
|
||||
# URL: http://www.qemu-project.org/
|
||||
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
||||
# Depends on: glib xorg-libpixman
|
||||
# Optional: libseccomp libiscsi libusb usbredir spice
|
||||
|
||||
name=qemu-x86x-arm-riscv
|
||||
realn=qemu
|
||||
version=5.2.0
|
||||
release=2
|
||||
source=(http://www.qemu-project.org//download/$realn-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $realn-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--cc="${CC:=gcc}" \
|
||||
--host-cc="${CC:=gcc}" \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/qemu \
|
||||
--localstatedir=/var \
|
||||
\
|
||||
--disable-docs \
|
||||
--disable-gtk \
|
||||
--disable-hax \
|
||||
--disable-sdl \
|
||||
--disable-vde \
|
||||
\
|
||||
--target-list=\
|
||||
aarch64-softmmu,\
|
||||
arm-softmmu,\
|
||||
i386-softmmu,\
|
||||
riscv32-softmmu,riscv64-softmmu,\
|
||||
x86_64-softmmu,\
|
||||
aarch64-linux-user,aarch64_be-linux-user,\
|
||||
arm-linux-user,armeb-linux-user,\
|
||||
i386-linux-user,\
|
||||
riscv32-linux-user,riscv64-linux-user,\
|
||||
x86_64-linux-user
|
||||
|
||||
make ${MAKEFLAGS:=}
|
||||
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share/locale $PKG/usr/share/locale
|
||||
|
||||
install -d $PKG/etc/udev/rules.d/
|
||||
echo 'KERNEL=="kvm", NAME="kvm", OWNER="root", GROUP="kvm", MODE="0660"' > \
|
||||
$PKG/etc/udev/rules.d/60-kvm.rules
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user