Skip to content
Snippets Groups Projects
Commit 30d01a77 authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

emulators/qemu: fix build on powerpc64

bsd-user disabled because of no bsd-user/host/ppc64.
parent 0614dffc
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,10 @@ COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT}
LICENSE= GPLv2
.if ${FLAVOR:U} != tools
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS= amd64 powerpc64
# We need to check if it build with other ARCHS
# For i386 we have unknown type name 'vm_page_t'
# ONLY_FOR_ARCHS= powerpc powerpc64 powerpc64 powerpc64le
# ONLY_FOR_ARCHS= powerpc64le
.endif
BUILD_DEPENDS= bash:shells/bash
......@@ -211,7 +211,11 @@ USE_GCC= yes
.endif
.if ${ARCH} == "powerpc64"
CONFIGURE_ARGS+= --disable-bsd-user
MAKE_ARGS+= ARCH=ppc64
PLIST_SUB+= BSDUSER="@comment "
.else
PLIST_SUB+= BSDUSER=""
.endif
.if ${ARCH} == "sparc64"
......
%%CURL%%bin/elf2dmp
%%NO_X86_TARGETS%%bin/qemu-arm
%%BSDUSER%%%%NO_X86_TARGETS%%bin/qemu-arm
bin/qemu-edid
bin/qemu-i386
%%BSDUSER%%bin/qemu-i386
bin/qemu-img
bin/qemu-io
%%GTK3%%bin/qemu-keymap
......@@ -37,7 +37,7 @@ bin/qemu-system-i386
bin/qemu-system-x86_64
%%NO_X86_TARGETS%%bin/qemu-system-xtensa
%%NO_X86_TARGETS%%bin/qemu-system-xtensaeb
bin/qemu-x86_64
%%BSDUSER%%bin/qemu-x86_64
include/qemu-plugin.h
%%PORTDOCS%%man/man1/qemu.1.gz
%%PORTDOCS%%man/man1/qemu-img.1.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment