aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.powerpc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-05-11 19:48:45 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-05-11 19:48:45 +0000
commit1d86aba60b12cb5bca2a53be124d94bfc9bc8857 (patch)
treedca4bdb2ec1ec49c422486c3fd878dbf03edbf7e /sys/conf/Makefile.powerpc
parentb2b795f07c71a7ebef458372022686da4f002ddc (diff)
downloadsrc-1d86aba60b12cb5bca2a53be124d94bfc9bc8857.tar.gz
src-1d86aba60b12cb5bca2a53be124d94bfc9bc8857.zip
Make `make links' work by leaving swapkernel.c off out of the links processing
(it is never generic).
Notes
Notes: svn path=/head/; revision=8457
Diffstat (limited to 'sys/conf/Makefile.powerpc')
-rw-r--r--sys/conf/Makefile.powerpc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 14f830830088..e81caf3e36e2 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