#!/bin/sh
# DF-0796 harness build script.
# Builds the KLD module against the in-guest kernel source tree (/usr/src/sys).
# Run as root inside the DragonFly guest.
set -e
cd "$(dirname "$0")"
make SYSDIR=/usr/src/sys
echo "build.sh: produced ./df0796_harness.ko"
ls -l df0796_harness.ko
