[syslinux] [PATCH 09/20] com32: Remove klibc.c32

Matt Fleming matt at console-pimps.org
Sat Apr 16 07:17:37 PDT 2011


From: Matt Fleming <matt.fleming at linux.intel.com>

We don't need this anymore as it includes DYNOBJS but libcom32.c32
also includes those objects and we can now dynamically load
libcom32.c32 at runtime.

Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>
---
 com32/lib/Makefile |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index f5c7f5b..ad861c9 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -204,7 +204,7 @@ AUXDIR   = $(DATADIR)/syslinux
 INCDIR   = /usr/include
 COM32DIR = $(AUXDIR)/com32
 
-all: libcom32.a libcom32min.a klibc.c32
+all: libcom32.a libcom32min.a
 
 libcom32.a : $(LIBOBJS)
 	rm -f $@
@@ -217,10 +217,6 @@ libcom32min.a : $(MINLIBOBJS)
 	$(AR) cq $@ $^
 	$(RANLIB) $@
 
-klibc.c32 : $(DYNLIBOBJS)
-	rm -f $@
-	$(LD) -shared -T elf32.ld -o $@ $(DYNLIBOBJS)
-
 tidy dist clean:
 	rm -f sys/vesa/alphatbl.c
 	find . \( -name \*.o -o -name \*.a -o -name .\*.d -o -name \*.tmp \) -print0 | \
-- 
1.7.4.2




More information about the Syslinux mailing list