Removed custom "load" and "unload" targets.
Removed "deinstall" targets -- the idea is to provide the standard "deinstall" target.
This commit is contained in:
parent
daabf4c893
commit
5cbb91d47e
@ -29,10 +29,4 @@ opt_ef.h:
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
load: all
|
||||
/sbin/kldload ./${PROG}
|
||||
|
||||
unload:
|
||||
/sbin/kldunload ${PROG}
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -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 <bsd.kmod.mk>
|
||||
|
@ -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 <bsd.kmod.mk>
|
||||
|
@ -60,7 +60,4 @@ opt_netsmb.h:
|
||||
echo "#define NETSMBCRYPTO 1" >> ${.TARGET}
|
||||
.endif
|
||||
|
||||
unload:
|
||||
@(if kldunload ${KMOD}; then true; else true; fi)
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user