summaryrefslogtreecommitdiffstats
path: root/share/examples/kld
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-18 12:03:42 +0000
committerru <ru@FreeBSD.org>2001-09-18 12:03:42 +0000
commit6de95f9679d4a041517063b7faf8ec657d53670a (patch)
treef70859cc894ab5b996863569da2458c698a0f179 /share/examples/kld
parentb6199c81dd61b725975823376299fa4f694e56a7 (diff)
downloadFreeBSD-src-6de95f9679d4a041517063b7faf8ec657d53670a.zip
FreeBSD-src-6de95f9679d4a041517063b7faf8ec657d53670a.tar.gz
Style.
Diffstat (limited to 'share/examples/kld')
-rw-r--r--share/examples/kld/syscall/module/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/share/examples/kld/syscall/module/Makefile b/share/examples/kld/syscall/module/Makefile
index 44406f4..17066d1 100644
--- a/share/examples/kld/syscall/module/Makefile
+++ b/share/examples/kld/syscall/module/Makefile
@@ -1,17 +1,7 @@
# Makefile for building the sample syscall module
+# $FreeBSD$
-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}
+KMOD= syscall
+SRCS= syscall.c
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud