From 5cbb91d47e2d095e243a4424ede8634856f800d2 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 19 Jan 2004 14:00:26 +0000 Subject: [PATCH] Removed custom "load" and "unload" targets. Removed "deinstall" targets -- the idea is to provide the standard "deinstall" target. --- sys/modules/if_ef/Makefile | 6 ------ sys/modules/ncp/Makefile | 9 --------- sys/modules/nwfs/Makefile | 9 --------- sys/modules/smbfs/Makefile | 3 --- 4 files changed, 27 deletions(-) diff --git a/sys/modules/if_ef/Makefile b/sys/modules/if_ef/Makefile index ff84ced5e2be..03e1e5087cf4 100644 --- a/sys/modules/if_ef/Makefile +++ b/sys/modules/if_ef/Makefile @@ -29,10 +29,4 @@ opt_ef.h: .endif .endfor -load: all - /sbin/kldload ./${PROG} - -unload: - /sbin/kldunload ${PROG} - .include diff --git a/sys/modules/ncp/Makefile b/sys/modules/ncp/Makefile index dfcedb9c72b6..fb9d9937c83c 100644 --- a/sys/modules/ncp/Makefile +++ b/sys/modules/ncp/Makefile @@ -12,13 +12,4 @@ SRCS+= ncp_burst.c CFLAGS+= -DNCPBURST .endif -load: ${KMOD}.ko - kldload ./${KMOD}.ko - -unload: - @(if kldunload ${KMOD}; then true; else true; fi) - -deinstall: - rm -f /modules/ncp.ko - .include diff --git a/sys/modules/nwfs/Makefile b/sys/modules/nwfs/Makefile index 04a5d4749ce0..255aabc51a4b 100644 --- a/sys/modules/nwfs/Makefile +++ b/sys/modules/nwfs/Makefile @@ -15,13 +15,4 @@ CFLAGS+= -DVNPRINT opt_ncp.h: echo "#define NCP 1" > ${.TARGET} -load: nwfs.ko - kldload ./nwfs.ko - -unload: - @(if kldunload nwfs; then true; else true; fi) - -deinstall: - rm -f /modules/nwfs.ko - .include diff --git a/sys/modules/smbfs/Makefile b/sys/modules/smbfs/Makefile index 885c3c40ff13..44a6a9e154c7 100644 --- a/sys/modules/smbfs/Makefile +++ b/sys/modules/smbfs/Makefile @@ -60,7 +60,4 @@ opt_netsmb.h: echo "#define NETSMBCRYPTO 1" >> ${.TARGET} .endif -unload: - @(if kldunload ${KMOD}; then true; else true; fi) - .include