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.
This commit is contained in:
parent
feaedb83b1
commit
7ea9f4a42f
@ -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,
|
||||
@ -93,6 +93,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
|
||||
|
@ -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,
|
||||
@ -93,6 +93,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user