aboutsummaryrefslogtreecommitdiff
path: root/configs/netbsd-verite-sim
diff options
context:
space:
mode:
authorRadosław Kujawa <radoslaw.kujawa@c0ff33.net>2026-08-02 22:04:06 +0200
committerRadosław Kujawa <radoslaw.kujawa@c0ff33.net>2026-08-02 22:04:32 +0200
commit56e89c9e4fb00b5c2af4536d4c50294608d0c46c (patch)
treeb247c62b317ce11e8c26e5b311a16cfae2f7d9c9 /configs/netbsd-verite-sim
parentafc74a01283fad7dfbbd670a535e68d90de7ed9a (diff)
Performance improvements, support userspace simulatorsHEADmaster
Diffstat (limited to 'configs/netbsd-verite-sim')
-rw-r--r--configs/netbsd-verite-sim28
1 files changed, 28 insertions, 0 deletions
diff --git a/configs/netbsd-verite-sim b/configs/netbsd-verite-sim
new file mode 100644
index 0000000..cbf0ee8
--- /dev/null
+++ b/configs/netbsd-verite-sim
@@ -0,0 +1,28 @@
+# Rendition Verite driver over the simulator on NetBSD
+include $(TOP)/configs/default
+
+CONFIG_NAME = netbsd-verite-sim
+
+CC = cc
+CXX = c++
+
+WS3DGL_SIM ?= $(abspath $(TOP)/../ws3dgl-sim)
+
+CFLAGS = -O2 -fsigned-char -fno-strict-aliasing -ffast-math -g -MMD -MP \
+ -I$(TOP)/src/mesa/ppc
+CXXFLAGS = $(CFLAGS)
+
+MKDEP = true
+
+MKLIB_OPTIONS = -static
+GL_LIB_NAME = libGL.a
+OSMESA_LIB_NAME = libOSMesa.a
+
+SRC_DIRS = mesa
+DRIVER_DIRS = verite-sim
+PROGRAM_DIRS =
+
+# libv3dsim.so carries its own vulkan dependency.
+GL_LIB_DEPS =
+APP_LIB_DEPS = -L$(LIB_DIR) -lGL -lm \
+ -L$(WS3DGL_SIM)/lib -lv3dsim -Wl,-R$(WS3DGL_SIM)/lib