DF-4764 / build.sh
#!/bin/sh # DF-4764 build set -e cd "$(dirname "$0")" mkdir -p /root/h1 && cp h1_harness.c /root/h1/ && printf 'SYSDIR=\t/usr/src/sys\nKMOD= h1harness\nSRCS= h1_harness.c\nCFLAGS+= -I/usr/src/sys\n.include "/usr/src/sys/conf/kmod.mk"\n' > /root/h1/Makefile && cd /root/h1 && make SYSDIR=/usr/src/sys |