summaryrefslogtreecommitdiffstats
path: root/sys/modules/procfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/procfs')
-rw-r--r--sys/modules/procfs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile
index cb96c1b..48a3e02 100644
--- a/sys/modules/procfs/Makefile
+++ b/sys/modules/procfs/Makefile
@@ -27,10 +27,15 @@ EXPORT_SYMS+= procfs_doprocfile
EXPORT_SYMS+= procfs_doprocmem
EXPORT_SYMS+= procfs_notsystem
+.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
+ echo "#define COMPAT_FREEBSD4 1" >> ${.TARGET}
+ echo "#define COMPAT_FREEBSD5 1" >> ${.TARGET}
.if ${MACHINE_ARCH} == "amd64"
echo "#define COMPAT_IA32 1" >> ${.TARGET}
+ echo "#define COMPAT_LINUX32 1" >> ${.TARGET}
+.endif
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud