aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linsysfs/Makefile
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:51:18 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:51:18 +0000
commit67d39748499e85cff626c202aa2cb6e9f180283e (patch)
tree727bdc803a1ee883bef970562b3e0caca6592c53 /sys/modules/linsysfs/Makefile
parent606bcc174187707fd4712d67d217bc24c33abb10 (diff)
downloadsrc-67d39748499e85cff626c202aa2cb6e9f180283e.tar.gz
src-67d39748499e85cff626c202aa2cb6e9f180283e.zip
Introduce a new module linux_common.ko which is intended for the
following primary purposes: 1. Remove the dependency of linsysfs and linprocfs modules from linux.ko, which will be architecture specific on amd64. 2. Incorporate into linux_common.ko general code for platforms on which we'll support two Linuxulator modules (for both instruction set - 32 & 64 bit). 3. Move malloc(9) declaration to linux_common.ko, to enable getting memory usage statistics properly. Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko. Temporarily remove dtrace garbage from linux_mib.c and linux_util.c Differential Revision: https://reviews.freebsd.org/D1072 In collaboration with: Vassilis Laganakos. Reviewed by: trasz
Notes
Notes: svn path=/head/; revision=283421
Diffstat (limited to 'sys/modules/linsysfs/Makefile')
-rw-r--r--sys/modules/linsysfs/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/modules/linsysfs/Makefile b/sys/modules/linsysfs/Makefile
index 401796779205..13230ff5e8ea 100644
--- a/sys/modules/linsysfs/Makefile
+++ b/sys/modules/linsysfs/Makefile
@@ -5,11 +5,6 @@
KMOD= linsysfs
SRCS= vnode_if.h \
device_if.h bus_if.h pci_if.h \
- linsysfs.c \
- opt_compat.h
-
-.if ${MACHINE_CPUARCH} == "amd64"
-CFLAGS+=-DCOMPAT_LINUX32
-.endif
+ linsysfs.c
.include <bsd.kmod.mk>