diff options
Diffstat (limited to 'emulators/qemu-riscv/Makefile')
| -rw-r--r-- | emulators/qemu-riscv/Makefile | 130 |
1 files changed, 0 insertions, 130 deletions
diff --git a/emulators/qemu-riscv/Makefile b/emulators/qemu-riscv/Makefile deleted file mode 100644 index b47052b..0000000 --- a/emulators/qemu-riscv/Makefile +++ /dev/null | |||
| @@ -1,130 +0,0 @@ | |||
| 1 | DPB_PROPERTIES= parallel | ||
| 2 | |||
| 3 | COMMENT= multi system emulator | ||
| 4 | |||
| 5 | VERSION= 2.12.1 | ||
| 6 | PKGNAME= qemu-riscv-${VERSION} | ||
| 7 | DISTNAME= qemu-${VERSION} | ||
| 8 | REVISION= 0 | ||
| 9 | CATEGORIES= emulators | ||
| 10 | MASTER_SITES= https://download.qemu.org/ | ||
| 11 | EXTRACT_SUFX= .tar.xz | ||
| 12 | |||
| 13 | HOMEPAGE= https://www.qemu.org/ | ||
| 14 | |||
| 15 | MAINTAINER= Brad Smith <brad@comstyle.com> | ||
| 16 | |||
| 17 | # GPLv2, LGPLv2 and BSD | ||
| 18 | PERMIT_PACKAGE= Yes | ||
| 19 | |||
| 20 | WANTLIB= c pthread fdt m util | ||
| 21 | |||
| 22 | DEBUG_PACKAGES= ${BUILD_PACKAGES} | ||
| 23 | |||
| 24 | # Using TLS emulation layer | ||
| 25 | COMPILER= base-clang ports-gcc | ||
| 26 | |||
| 27 | LIB_DEPENDS= devel/dtc | ||
| 28 | |||
| 29 | MAKE_ENV= V=1 | ||
| 30 | FAKE_FLAGS= qemu_confdir=${PREFIX}/share/examples/qemu | ||
| 31 | |||
| 32 | CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include | ||
| 33 | LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib | ||
| 34 | |||
| 35 | # until the system headers are fixed properly. | ||
| 36 | CFLAGS+= -Wno-redundant-decls | ||
| 37 | |||
| 38 | MODULES= lang/python | ||
| 39 | MODPY_RUN_DEPENDS= No | ||
| 40 | |||
| 41 | SEPARATE_BUILD= Yes | ||
| 42 | USE_GMAKE= Yes | ||
| 43 | CONFIGURE_STYLE=simple | ||
| 44 | CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" | ||
| 45 | CONFIGURE_ARGS= --localstatedir=${LOCALSTATEDIR} \ | ||
| 46 | --prefix=${PREFIX} \ | ||
| 47 | --sysconfdir=${SYSCONFDIR} \ | ||
| 48 | --mandir=${PREFIX}/man \ | ||
| 49 | --cc="${CC}" \ | ||
| 50 | --cxx=/dev/null \ | ||
| 51 | --host-cc="${CC}" \ | ||
| 52 | --target-list=riscv32-softmmu,riscv64-softmmu \ | ||
| 53 | --audio-drv-list= \ | ||
| 54 | --disable-user \ | ||
| 55 | --disable-linux-user \ | ||
| 56 | --disable-bsd-user \ | ||
| 57 | --disable-docs \ | ||
| 58 | --disable-guest-agent \ | ||
| 59 | --disable-modules \ | ||
| 60 | --disable-gnutls \ | ||
| 61 | --disable-nettle \ | ||
| 62 | --disable-gcrypt \ | ||
| 63 | --disable-sdl \ | ||
| 64 | --disable-gtk \ | ||
| 65 | --disable-vte \ | ||
| 66 | --disable-vnc \ | ||
| 67 | --disable-virtfs \ | ||
| 68 | --disable-mpath \ | ||
| 69 | --disable-xen \ | ||
| 70 | --disable-brlapi \ | ||
| 71 | --disable-curl \ | ||
| 72 | --disable-bluez \ | ||
| 73 | --disable-rdma \ | ||
| 74 | --disable-vde \ | ||
| 75 | --disable-netmap \ | ||
| 76 | --disable-cap-ng \ | ||
| 77 | --disable-attr \ | ||
| 78 | --disable-vhost-net \ | ||
| 79 | --disable-vhost-crypto \ | ||
| 80 | --disable-spice \ | ||
| 81 | --disable-rbd \ | ||
| 82 | --disable-libiscsi \ | ||
| 83 | --disable-libnfs \ | ||
| 84 | --disable-smartcard \ | ||
| 85 | --disable-libusb \ | ||
| 86 | --disable-live-block-migration \ | ||
| 87 | --disable-usb-redir \ | ||
| 88 | --disable-lzo \ | ||
| 89 | --disable-snappy \ | ||
| 90 | --disable-bzip2 \ | ||
| 91 | --disable-glusterfs \ | ||
| 92 | --disable-tpm \ | ||
| 93 | --disable-libssh2 \ | ||
| 94 | --disable-numa \ | ||
| 95 | --disable-libxml2 \ | ||
| 96 | --disable-replication \ | ||
| 97 | --disable-vhost-vsock \ | ||
| 98 | --disable-opengl \ | ||
| 99 | --disable-virglrenderer \ | ||
| 100 | --disable-xfsctl \ | ||
| 101 | --disable-qom-cast-debug \ | ||
| 102 | --disable-vxhs \ | ||
| 103 | --disable-crypto-afalg \ | ||
| 104 | --disable-vhost-user \ | ||
| 105 | --disable-capstone | ||
| 106 | |||
| 107 | FLAVORS= debug | ||
| 108 | FLAVOR?= | ||
| 109 | |||
| 110 | .if ${FLAVOR:Mdebug} | ||
| 111 | CFLAGS+= -O0 | ||
| 112 | CONFIGURE_ARGS+=--enable-debug | ||
| 113 | INSTALL_STRIP= | ||
| 114 | .else | ||
| 115 | CONFIGURE_ARGS+=--disable-debug-info | ||
| 116 | .endif | ||
| 117 | |||
| 118 | TEST_TARGET= check | ||
| 119 | |||
| 120 | # XXX Optimizer bug, using -O2 causes segfaults, -O1 linking errors | ||
| 121 | .if ${MACHINE_ARCH:Mpowerpc} | ||
| 122 | CFLAGS+= -O0 | ||
| 123 | .endif | ||
| 124 | |||
| 125 | .include <bsd.port.arch.mk> | ||
| 126 | |||
| 127 | post-install: | ||
| 128 | ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qemu | ||
| 129 | |||
| 130 | .include <bsd.port.mk> | ||
