mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 00:04:14 -05:00
17 lines
265 B
Makefile
17 lines
265 B
Makefile
# Makefile for building the sample syscall module
|
|
|
|
SRCS = syscall.c
|
|
KMOD = syscall
|
|
KO = ${KMOD}.ko
|
|
KLDMOD = t
|
|
|
|
KLDLOAD = /sbin/kldload
|
|
KLDUNLOAD = /sbin/kldunload
|
|
|
|
load: ${KO}
|
|
${KLDLOAD} -v ./${KO}
|
|
|
|
unload: ${KO}
|
|
${KLDUNLOAD} -v -n ${KO}
|
|
|
|
.include <bsd.kmod.mk>
|