From 66ff0c053cb37543384a9037816dfe10865d2cf7 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 31 Jul 2004 00:55:51 +0000 Subject: [PATCH] Rename LIBCOMPAT* -> SYSLIBCOMPAT*, now that provides LIBCOMPAT. Fixes kernel link problem noted by Sebastien Erard. --- sys/conf/Makefile.kern.inc | 12 ++++++------ sys/kern/makesyscalls.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/conf/Makefile.kern.inc b/sys/conf/Makefile.kern.inc index e47d79c1262c..692e8a0639c3 100644 --- a/sys/conf/Makefile.kern.inc +++ b/sys/conf/Makefile.kern.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.kern.inc,v 1.55 2004/07/15 03:35:20 atatat Exp $ +# $NetBSD: Makefile.kern.inc,v 1.56 2004/07/31 00:55:51 lukem Exp $ # # This file contains common `MI' targets and definitions and it is included # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. @@ -127,12 +127,12 @@ LIBKERNLN?= ${KERNLIBLN} ### find out what to use for libcompat .include "$S/compat/common/Makefile.inc" .ifndef PROF -LIBCOMPAT?= ${COMPATLIB} +SYSLIBCOMPAT?= ${COMPATLIB} .else -LIBCOMPAT?= ${COMPATLIB_PROF} +SYSLIBCOMPAT?= ${COMPATLIB_PROF} .endif -LIBCOMPATLN?= ${COMPATLIBLN} +SYSLIBCOMPATLN?= ${COMPATLIBLN} ## ## (4) local objects, compile rules, and dependencies @@ -169,7 +169,7 @@ ${_cfile:T:R}.o: ${_cfile} # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} -SYSTEM_OBJ?= ${MD_OBJS} ${MI_OBJS} ${OBJS} ${LIBCOMPAT} ${LIBKERN} +SYSTEM_OBJ?= ${MD_OBJS} ${MI_OBJS} ${OBJS} ${SYSLIBCOMPAT} ${LIBKERN} SYSTEM_DEP?= Makefile ${SYSTEM_OBJ} .gdbinit SYSTEM_LD_HEAD?=@rm -f $@ SYSTEM_LD?= @${_MKSHMSG} " link ${.CURDIR:T}/${.TARGET}"; \ @@ -311,7 +311,7 @@ KERNLINTFLAGS?= -bcehnxzFS NORMAL_LN?= ${LINT} ${KERNLINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i $< _lsrc=${CFILES} ${LINTSTUBS} ${MI_CFILES} ${MD_CFILES} -LOBJS?= ${_lsrc:T:S/.c$/.ln/g} ${LIBKERNLN} ${LIBCOMPATLN} +LOBJS?= ${_lsrc:T:S/.c$/.ln/g} ${LIBKERNLN} ${SYSLIBCOMPATLN} .for _sfile in ${ALLSFILES} LintStub_${_sfile:T:R}.c: ${_sfile} assym.h diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 73d150b69f9d..2d16c1361fd6 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -1,5 +1,5 @@ #! /bin/sh - -# $NetBSD: makesyscalls.sh,v 1.55 2003/09/30 20:34:28 christos Exp $ +# $NetBSD: makesyscalls.sh,v 1.56 2004/07/31 00:55:51 lukem Exp $ # # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou # All rights reserved. @@ -55,7 +55,7 @@ esac # sys_nosys [optional] name of function called for unsupported # syscalls, if not sys_nosys() # -# NOTE THAT THIS makesyscalls.sh DOES NOT SUPPORT 'LIBCOMPAT'. +# NOTE THAT THIS makesyscalls.sh DOES NOT SUPPORT 'SYSLIBCOMPAT'. # source the config file. sys_nosys="sys_nosys" # default is sys_nosys(), if not specified otherwise