diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile index 187195c0867..e69f3ceb3b3 100644 --- a/sys/modules/linprocfs/Makefile +++ b/sys/modules/linprocfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/linux/linprocfs +.PATH: ${.CURDIR}/../../compat/linprocfs KMOD= linprocfs SRCS= vnode_if.h linprocfs_misc.c linprocfs_subr.c \ linprocfs_vfsops.c linprocfs_vnops.c @@ -8,4 +8,14 @@ NOMAN= VFS_KLD= CFLAGS+= -DLINPROCFS +test: unload install load + +load: + kldload ${KMOD} + mount /compat/linux/proc + +unload: + -umount /compat/linux/proc + kldunload ${KMOD} + .include