From: Ben Gras Date: Sat, 28 Jul 2012 20:21:53 +0000 (+0200) Subject: kernel: clean up objects X-Git-Tag: v3.2.1~440 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=11084d94e6db94c87116b19c08abb15845f71208;p=minix.git kernel: clean up objects . objects left over from libraries are left around --- diff --git a/kernel/arch/i386/Makefile.inc b/kernel/arch/i386/Makefile.inc index 18fbc399a..c525e6989 100644 --- a/kernel/arch/i386/Makefile.inc +++ b/kernel/arch/i386/Makefile.inc @@ -20,6 +20,7 @@ SYS_OBJS_UNPAGED=kprintf.o vprintf.o assert.o stacktrace.o unpaged_${UNPAGED_OBJ}: ${UNPAGED_OBJ} objcopy --prefix-symbols=__k_unpaged_ ${UNPAGED_OBJ} unpaged_${UNPAGED_OBJ} UNPAGED_OBJS += unpaged_${UNPAGED_OBJ} +ORIG_UNPAGED_OBJS += ${UNPAGED_OBJ} .endfor # we have to extract some object files from libminc.a and libminlib.a @@ -28,6 +29,8 @@ $(MINLIB_OBJS_UNPAGED) $(MINC_OBJS_UNPAGED) $(SYS_OBJS_UNPAGED): $(LIBMINLIB) $( ar x $(LIBMINC) $(MINC_OBJS_UNPAGED) ar x $(LIBSYS) $(SYS_OBJS_UNPAGED) +CLEANFILES+= $(ORIG_UNPAGED_OBJS) + SRCS+= mpx.S arch_clock.c arch_do_vmctl.c arch_system.c \ do_iopenable.c do_readbios.c do_sdevio.c exception.c i8259.c io_inb.S \ io_inl.S io_intr.S io_inw.S io_outb.S io_outl.S io_outw.S klib.S klib16.S memory.c \