[syslinux] [PATCH 2/6] mboot.c32: Delete superfluous $(LIBS) prerequisite

Matt Fleming matt at console-pimps.org
Sat Apr 16 06:35:33 PDT 2011


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

com32.mk already includes the necessary archive libraries in
$(C_LIBS), we don't need to list them again in $(LIBS).

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

diff --git a/com32/mboot/Makefile b/com32/mboot/Makefile
index cad320f..b7ee115 100644
--- a/com32/mboot/Makefile
+++ b/com32/mboot/Makefile
@@ -19,7 +19,6 @@ topdir = ../..
 MAKEDIR = $(topdir)/mk
 include $(MAKEDIR)/com32.mk
 
-LIBS	   = ../libutil/libutil_com.a ../lib/libcom32.a $(LIBGCC)
 LNXLIBS	   = ../libutil/libutil_lnx.a
 
 MODULES	  = mboot.c32
@@ -29,7 +28,7 @@ OBJS = mboot.o map.o mem.o initvesa.o apm.o solaris.o syslinux.o
 
 all: $(MODULES) $(TESTFILES)
 
-mboot.elf : $(OBJS) $(LIBS) $(C_LIBS)
+mboot.elf : $(OBJS) $(C_LIBS)
 	$(LD) $(LDFLAGS) -o $@ $^
 
 tidy dist:
-- 
1.7.4.2




More information about the Syslinux mailing list