diff options
author | bz <bz@FreeBSD.org> | 2009-09-26 12:45:28 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-09-26 12:45:28 +0000 |
commit | 4c721eede82d931b0a694c6f7f52de10132251ac (patch) | |
tree | 47dc298ceb152b7dadd32afc66fa93bacd840418 /sys/modules | |
parent | f4593287a1446823bffff8af7c9b347b58747b25 (diff) | |
download | FreeBSD-src-4c721eede82d931b0a694c6f7f52de10132251ac.zip FreeBSD-src-4c721eede82d931b0a694c6f7f52de10132251ac.tar.gz |
lindev(4) [1] is supposed to be a collection of linux-specific pseudo
devices that we also support, just not by default (thus only LINT or
module builds by default).
While currently there is only "/dev/full" [2], we are planning to see more
in the future. We may decide to change the module/dependency logic in the
future should the list grow too long.
This is not part of linux.ko as also non-linux binaries like kFreeBSD
userland or ports can make use of this as well.
Suggested by: rwatson [1] (name)
Submitted by: ed [2]
Discussed with: markm, ed, rwatson, kib (weeks ago)
Reviewed by: rwatson, brueffer (prev. version)
PR: kern/68961
MFC after: 6 weeks
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/lindev/Makefile | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 49d8860..88d0299 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -151,6 +151,7 @@ SUBDIR= ${_3dfx} \ libiconv \ libmbpool \ libmchain \ + ${_lindev} \ ${_linprocfs} \ ${_linsysfs} \ ${_linux} \ @@ -373,6 +374,7 @@ _ie= ie _if_ndis= if_ndis _igb= igb _io= io +_lindev= lindev _linprocfs= linprocfs _linsysfs= linsysfs _linux= linux @@ -510,6 +512,7 @@ _ipwfw= ipwfw _iwn= iwn _iwnfw= iwnfw _ixgb= ixgb +_lindev= lindev _linprocfs= linprocfs _linsysfs= linsysfs _linux= linux diff --git a/sys/modules/lindev/Makefile b/sys/modules/lindev/Makefile new file mode 100644 index 0000000..704cac3 --- /dev/null +++ b/sys/modules/lindev/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/lindev + +KMOD= lindev +SRCS= full.c lindev.c + +.include <bsd.kmod.mk> |