From 11084d94e6db94c87116b19c08abb15845f71208 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Sat, 28 Jul 2012 22:21:53 +0200 Subject: [PATCH] kernel: clean up objects . objects left over from libraries are left around --- kernel/arch/i386/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.44.0