summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-04-28 00:02:22 +0000
committerfsmp <fsmp@FreeBSD.org>1997-04-28 00:02:22 +0000
commit7ea9f4a42f768dcb63ef2caacbfefe9f1240552a (patch)
tree0a6bb86a6a2464553582cd37587547690785e11e /share
parentfeaedb83b142112b35a43051cb0bcabc9f1b83e5 (diff)
downloadFreeBSD-src-7ea9f4a42f768dcb63ef2caacbfefe9f1240552a.zip
FreeBSD-src-7ea9f4a42f768dcb63ef2caacbfefe9f1240552a.tar.gz
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
make world fails when it tries to build LKMs because the files opt_smp.h opt_smp_invltbl.h are missing. This patch to /usr/src/share/mk/bsd.kmod.mk is a temporary workaround. Note that LKMs built in this way may or may NOT work properly with an SMP kernel.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.kmod.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index b1d9773..6131e9c 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.kmod.mk,v 1.30 1997/02/22 13:56:10 peter Exp $
+# $Id: bsd.kmod.mk,v 1.31 1997/04/13 06:44:21 jkh Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists,
@@ -94,6 +94,14 @@ MODUNLOAD?= /sbin/modunload
.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S
#
+# A temporary fix to survive SMP changes.
+#
+CFLAGS+= -I.
+beforedepend:
+ touch opt_smp.h
+ touch opt_smp_invltlb.h
+
+#
# Assume that we are in /usr/src/foo/bar, so /sys is
# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
# actually lives in /sys directly.
OpenPOWER on IntegriCloud