Date: Wed, 21 Dec 2016 05:53:30 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429042 - in head/emulators: . qemu-riscv Message-ID: <201612210553.uBL5rUSw081310@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Wed Dec 21 05:53:30 2016 New Revision: 429042 URL: https://svnweb.freebsd.org/changeset/ports/429042 Log: Add emulators/qemu-riscv, QEMU with RISC-V (RV64G, RV32G) emulation support Added: head/emulators/qemu-riscv/ head/emulators/qemu-riscv/Makefile (contents, props changed) head/emulators/qemu-riscv/distinfo (contents, props changed) head/emulators/qemu-riscv/pkg-descr (contents, props changed) Modified: head/emulators/Makefile Modified: head/emulators/Makefile ============================================================================== --- head/emulators/Makefile Wed Dec 21 05:21:02 2016 (r429041) +++ head/emulators/Makefile Wed Dec 21 05:53:30 2016 (r429042) @@ -124,6 +124,7 @@ SUBDIR += qemu-cheri128m SUBDIR += qemu-devel SUBDIR += qemu-launcher + SUBDIR += qemu-riscv SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qemu-utils Added: head/emulators/qemu-riscv/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu-riscv/Makefile Wed Dec 21 05:53:30 2016 (r429042) @@ -0,0 +1,59 @@ +# $FreeBSD$ + +PORTNAME= qemu +PORTVERSION= 2.7.50 +PORTREVISION= 20161221 +CATEGORIES= emulators +PKGNAMESUFFIX?= -riscv + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= QEMU with RISC-V (RV64G, RV32G) emulation support + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= riscv +GH_PROJECT= riscv-qemu +GH_TAGNAME= 21e3a7c + +HAS_CONFIGURE= yes +USES= gmake libtool makeinfo pkgconfig python:2,build +USE_XORG= pixman +USE_GNOME+= glib20 +ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 + +CONFIGURE_ARGS+=--target-list=riscv64-softmmu,riscv32-softmmu \ + --cc=${CC} \ + --disable-curl \ + --disable-docs \ + --disable-gtk \ + --disable-gcrypt \ + --disable-kvm \ + --disable-libssh2 \ + --disable-linux-aio \ + --disable-linux-user \ + --disable-vnc \ + --disable-sdl \ + --disable-nettle \ + --disable-gnutls \ + --disable-vte \ + --disable-xen \ + --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ + --extra-ldflags=-L\"${LOCALBASE}/lib\" \ + --localstatedir=/var \ + --python=${PYTHON_CMD} + +PLIST_FILES= bin/qemu-system-riscv32 \ + bin/qemu-system-riscv64 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1100000 +IGNORE= does not build +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/riscv32-softmmu/qemu-system-riscv32 ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/riscv64-softmmu/qemu-system-riscv64 ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.post.mk> Added: head/emulators/qemu-riscv/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu-riscv/distinfo Wed Dec 21 05:53:30 2016 (r429042) @@ -0,0 +1,3 @@ +TIMESTAMP = 1482292185 +SHA256 (riscv-riscv-qemu-2.7.50-21e3a7c_GH0.tar.gz) = b4de04be3c7b5386281b382d79bdbc81752fe950ccd3c373529c1c47d0396161 +SIZE (riscv-riscv-qemu-2.7.50-21e3a7c_GH0.tar.gz) = 12931938 Added: head/emulators/qemu-riscv/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu-riscv/pkg-descr Wed Dec 21 05:53:30 2016 (r429042) @@ -0,0 +1,3 @@ +QEMU with RISC-V (RV64G, RV32G) emulation support + +WWW: https://github.com/riscv/riscv-qemu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612210553.uBL5rUSw081310>