summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-05-11 19:48:45 +0000
committerwollman <wollman@FreeBSD.org>1995-05-11 19:48:45 +0000
commit5d4885ae9385a35dc98a203271a7387afb889465 (patch)
treedca4bdb2ec1ec49c422486c3fd878dbf03edbf7e /sys/conf
parent0e1db07cf9044a3bbfd713ff85528c129ed754ba (diff)
downloadFreeBSD-src-5d4885ae9385a35dc98a203271a7387afb889465.zip
FreeBSD-src-5d4885ae9385a35dc98a203271a7387afb889465.tar.gz
Make `make links' work by leaving swapkernel.c off out of the links processing
(it is never generic).
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.i3866
-rw-r--r--sys/conf/Makefile.powerpc6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 14f8308..e81caf3 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.61 1995/04/03 01:13:50 nate Exp $
+# $Id: Makefile.i386,v 1.62 1995/04/05 04:10:58 nate Exp $
#
# Makefile for FreeBSD
#
@@ -161,9 +161,9 @@ depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND}
mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES}
links:
- egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
+ egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
- echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
+ echo ${CFILES:Nswapkernel.c} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
sort -u | comm -23 - dontlink | \
sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 14f8308..e81caf3 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.61 1995/04/03 01:13:50 nate Exp $
+# $Id: Makefile.i386,v 1.62 1995/04/05 04:10:58 nate Exp $
#
# Makefile for FreeBSD
#
@@ -161,9 +161,9 @@ depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND}
mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES}
links:
- egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
+ egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
- echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
+ echo ${CFILES:Nswapkernel.c} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
sort -u | comm -23 - dontlink | \
sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
OpenPOWER on IntegriCloud