diff options
| author | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 15:51:18 +0000 |
|---|---|---|
| committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 15:51:18 +0000 |
| commit | 67d39748499e85cff626c202aa2cb6e9f180283e (patch) | |
| tree | 727bdc803a1ee883bef970562b3e0caca6592c53 /sys/modules/linux_common | |
| parent | 606bcc174187707fd4712d67d217bc24c33abb10 (diff) | |
Notes
Diffstat (limited to 'sys/modules/linux_common')
| -rw-r--r-- | sys/modules/linux_common/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile new file mode 100644 index 000000000000..4384d0b6abdd --- /dev/null +++ b/sys/modules/linux_common/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../compat/linux + +KMOD= linux_common +SRCS= linux_common.c linux_mib.c linux_util.c \ + opt_compat.h device_if.h vnode_if.h bus_if.h + +EXPORT_SYMS= +EXPORT_SYMS+= linux_emul_path +EXPORT_SYMS+= linux_ioctl_register_handler +EXPORT_SYMS+= linux_ioctl_unregister_handler +EXPORT_SYMS+= linux_get_osname +EXPORT_SYMS+= linux_get_osrelease + +.if !defined(KERNBUILDDIR) +.if defined(DEBUG) +CFLAGS+=-DDEBUG +.endif +.if defined(KTR) +CFLAGS+=-DKTR +.endif +.endif + +.include <bsd.kmod.mk> |
