From ba11dfa74c97c4e65dd7fa29a58e12e01b3107a2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 30 Apr 1997 06:04:17 +0000 Subject: [PATCH] bugfix: 'make depend' cause all LKMs rebuild --- share/mk/bsd.kmod.mk | 8 ++++++-- sys/conf/kmod.mk | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 6131e9c01a1..ef481acb407 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.31 1997/04/13 06:44:21 jkh Exp $ +# $Id: bsd.kmod.mk,v 1.32 1997/04/28 00:02:22 fsmp Exp $ # # The include file handles installing Loadable Kernel Modules. # includes the file named "../Makefile.inc" if it exists, @@ -97,8 +97,12 @@ MODUNLOAD?= /sbin/modunload # A temporary fix to survive SMP changes. # CFLAGS+= -I. -beforedepend: +beforedepend: opt_smp.h opt_smp_invltlb.h + +opt_smp.h: touch opt_smp.h + +opt_smp_invltlb.h: touch opt_smp_invltlb.h # diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 6131e9c01a1..ef481acb407 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.31 1997/04/13 06:44:21 jkh Exp $ +# $Id: bsd.kmod.mk,v 1.32 1997/04/28 00:02:22 fsmp Exp $ # # The include file handles installing Loadable Kernel Modules. # includes the file named "../Makefile.inc" if it exists, @@ -97,8 +97,12 @@ MODUNLOAD?= /sbin/modunload # A temporary fix to survive SMP changes. # CFLAGS+= -I. -beforedepend: +beforedepend: opt_smp.h opt_smp_invltlb.h + +opt_smp.h: touch opt_smp.h + +opt_smp_invltlb.h: touch opt_smp_invltlb.h #