summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 11:23:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-25 11:23:34 +0000
commit81c82f0a9fedfa5bda0780e86db5a95a644b83dc (patch)
tree96e86ecc2edffc7e5499f96782d7c6f3fe3018ce /sys/arch/mac68k
parent7ac5456ddfe594fa299bc0055230df33e759a988 (diff)
Get rid of the kernel 'libcompat' framework, and instead use conf/files to
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index 24896a3e666..5477aead64a 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.36 2007/07/30 16:23:33 thib Exp $
+# $OpenBSD: Makefile.mac68k,v 1.37 2007/11/25 11:23:33 deraadt Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -63,14 +63,6 @@ LIBKERN=${KERNLIB}
LIBKERN=${KERNLIB_PROF}
.endif
-### Find out what to use for libcompat.
-.include "$S/compat/common/Makefile.inc"
-.ifndef PROF
-LIBCOMPAT=${COMPATLIB}
-.else
-LIBCOMPAT=${COMPATLIB_PROF}
-.endif
-
### for the Motorola 68040 Floating Point Software Product
.include "${M68K}/fpsp/Makefile.inc"
@@ -101,8 +93,7 @@ NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
# ${SYSTEM_LD_HEAD}
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
-SYSTEM_OBJ= locore.o ${FPSP} \
- param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
+SYSTEM_OBJ= locore.o param.o ioconf.o ${OBJS} ${FPSP} ${LIBKERN}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \