From 81c82f0a9fedfa5bda0780e86db5a95a644b83dc Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 25 Nov 2007 11:23:34 +0000 Subject: 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. --- sys/arch/sparc64/conf/Makefile.sparc64 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sys/arch/sparc64/conf') diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index 6a4a9bf8da6..d6fdd153eb4 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -41,14 +41,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 - # compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP} # where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix, # capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file @@ -76,8 +68,7 @@ HOSTED_C= ${HOSTCC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} -SYSTEM_OBJ= locore.o \ - param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT} +SYSTEM_OBJ= locore.o param.o ioconf.o ${OBJS} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= @rm -f $@ SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \ -- cgit v1.2.3