diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-25 11:23:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-25 11:23:34 +0000 |
commit | 81c82f0a9fedfa5bda0780e86db5a95a644b83dc (patch) | |
tree | 96e86ecc2edffc7e5499f96782d7c6f3fe3018ce /sys/arch/sgi | |
parent | 7ac5456ddfe594fa299bc0055230df33e759a988 (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/sgi')
-rw-r--r-- | sys/arch/sgi/conf/Makefile.sgi | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi index edf33468247..9ab40a13c2b 100644 --- a/sys/arch/sgi/conf/Makefile.sgi +++ b/sys/arch/sgi/conf/Makefile.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sgi,v 1.16 2007/07/30 16:23:33 thib Exp $ +# $OpenBSD: Makefile.sgi,v 1.17 2007/11/25 11:23:33 deraadt Exp $ # Makefile for OpenBSD # @@ -69,14 +69,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 - NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< @@ -93,10 +85,7 @@ NORMAL_S_C= ${AS} ${COPTS} ${PARAM} $< -o $@ # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} - -SYSTEM_OBJ= locore.o ${OBJS} param.o ioconf.o \ - ${LIBKERN} ${LIBCOMPAT} -# +SYSTEM_OBJ= locore.o param.o ioconf.o ${OBJS} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= rm -f $@ SYSTEM_LD= @if [ X${DEBUG} = X-g ]; \ |