jasper 960996b6b3 import risk-pk git HEAD
The RISC-V Proxy Kernel, pk, is a lightweight application execution
environment that can host statically-linked RISC-V ELF binaries. It is
designed to support tethered RISC-V implementations with limited I/O
capability and thus handles I/O-related system calls by proxying them to
a host computer.

ok aja@
2020-11-09 15:01:45 +00:00

36 lines
683 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/11/09 15:01:45 jasper Exp $
COMMENT = RISC-V Proxy Kernel
GH_COMMIT = a4d4298ca10527a51fad86c53a93c48e6f510092
GH_ACCOUNT = riscv
GH_PROJECT = riscv-pk
DISTNAME = riscv-pk-1.0.0
CATEGORIES = sysutils
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD3
PERMIT_PACKAGE =Yes
BUILD_DEPENDS = devel/riscv-elf/newlib
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--host=riscv64-unknown-elf
CONFIGURE_ENV = CC=riscv64-unknown-elf-gcc
PREFIX= ${LOCALBASE}/riscv64-unknown-elf
USE_GMAKE = Yes
SEPARATE_BUILD =Yes
#.if ${FLAVOR:Mriscv32}
#CONFIGURE_ARGS +=--with-arch=rv32i
#.endif
# No actual tests?
NO_TEST = Yes
.include <bsd.port.mk>