summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-26 13:58:31 +0000
committerbde <bde@FreeBSD.org>1995-12-26 13:58:31 +0000
commit49ed6a09d11ec3db6deb7797c3b4b4133b57856a (patch)
treeb2817a4f30b6287ab4c4e346b4f8d4e6b8281eea /sys/conf/Makefile.i386
parent6a0ace8bd06c07596749965bccd76d8a1f0e4605 (diff)
downloadFreeBSD-src-49ed6a09d11ec3db6deb7797c3b4b4133b57856a.zip
FreeBSD-src-49ed6a09d11ec3db6deb7797c3b4b4133b57856a.tar.gz
Removed almost all traces of libkern.a. The objects that were in
libkern.a are now specified by listing their source files in files.${MACHINE}. The list is machine-dependent to save space. All the necessary object for each machine must be linked into the kernel in case an lkm wants one.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r--sys/conf/Makefile.i38630
1 files changed, 4 insertions, 26 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index f948e9b..87ac8e4 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.70 1995/11/19 19:49:43 davidg Exp $
+# $Id: Makefile.i386,v 1.71 1995/12/16 01:57:17 bde Exp $
#
# Makefile for FreeBSD
#
@@ -62,9 +62,9 @@ PROFILE_C= ${CC} -c ${CFLAGS} ${PARAM} $<
SYSTEM_CFILES= ioconf.c param.c vnode_if.c
SYSTEM_SFILES= ${I386}/i386/locore.s
SYSTEM_OBJS= locore.o vnode_if.o ${OBJS} ioconf.o param.o
-SYSTEM_DEP= Makefile symbols.exclude symbols.sort ${SYSTEM_OBJS} libkern.a
+SYSTEM_DEP= Makefile symbols.exclude symbols.sort ${SYSTEM_OBJS}
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
-SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
+SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o
.if ${CFLAGS:M-g} == ""
SYMORDER_EXCLUDE=-x symbols.exclude
.endif
@@ -84,30 +84,8 @@ SYSTEM_LD_TAIL= @echo rearranging symbols; \
%CLEAN
-# This is slightly different from before in that if you define PROF
-# to anything, it will assume profiling. Don't do "PROF=" to turn
-# profiling off!
-.if exists($S/libkern/obj)
-LIBKERNP=$S/libkern/obj
-.else
-LIBKERNP=$S/libkern
-.endif
-
-.if defined(PROF)
-LIBKERN=${LIBKERNP}/libkern_p.a
-.else
-LIBKERN=${LIBKERNP}/libkern.a
-.endif
-
-libkern.a: ${LIBKERN}
- @rm -f libkern.a
- ln -s ${LIBKERN} libkern.a
-
-${LIBKERN}:
- @(cd $S/libkern; make)
-
clean:
- rm -f *.o *.s eddep errs genassym kernel libkern.a linterrs \
+ rm -f *.o *.s eddep errs genassym kernel linterrs \
makelinks param.c symbols.exclude symbols.sort tags \
vers.c vnode_if.c vnode_if.h ${CLEAN}
OpenPOWER on IntegriCloud