#!/bin/sh
# DF-0609 build: compile the trigger kld module in the guest as root.
# Requires the kernel source tree at /usr/src and obj at /usr/obj.
set -e
cd "$(dirname "$0")"
make KERNCONF=X86_64_GENERIC SYSDIR=/usr/src/sys 2>&1
echo "BUILD_EXIT=$?"
ls -l df0609_trigger.ko 2>/dev/null
