summaryrefslogtreecommitdiffstats
path: root/sys/modules/linprocfs
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-08-15 13:01:36 +0000
committernetchild <netchild@FreeBSD.org>2006-08-15 13:01:36 +0000
commiteb91ee0f35d84b6103c7b3e9bec6a6f2e2652279 (patch)
treeefa31992ab4558a6b2217d6c7a2eed0f4a547608 /sys/modules/linprocfs
parent133c6ea86255aacd39f148297f9eabc73ba3f23d (diff)
downloadFreeBSD-src-eb91ee0f35d84b6103c7b3e9bec6a6f2e2652279.zip
FreeBSD-src-eb91ee0f35d84b6103c7b3e9bec6a6f2e2652279.tar.gz
- Add the new files to the linux module.
- Prepare the modules for build on amd64, but don't build them there as part of the kernel build yet. The code for the missing symbols on amd64 isn't committed and it may be solved differently. Sponsored by: Google SoC 2006 Submitted by: rdivacky
Diffstat (limited to 'sys/modules/linprocfs')
-rw-r--r--sys/modules/linprocfs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index 98f9fcb..9b89c96 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -7,4 +7,8 @@ SRCS= vnode_if.h \
linprocfs.c \
opt_compat.h
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+=-DCOMPAT_LINUX32
+.endif
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud