DF-2819 / build.sh
#!/bin/sh # On the DragonFly guest: cc -O2 -o /root/fill /root/fill.c # optional size probe (KLD): mkdir -p /root/szprobe && cp szprobe.c /root/szprobe/ && \ printf 'KMOD=\tszprobe\nSRCS=\tszprobe.c\nSYSDIR=\t/usr/src/sys\n.include <bsd.kmod.mk>\n' > /root/szprobe/Makefile && \ cd /root/szprobe && make obj && make |