[syslinux] [PATCH 03/19] com32/menu: vesamenu.c32 and menu.c32 require multiple obj files

Matt Fleming matt at console-pimps.org
Fri Mar 23 11:02:37 PDT 2012


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

The standard %.c32 rule in mk/elf.mk doesn't work for vesamenu.c32 and
menu.c32 because they need multiple object files to be linked. Replace
the *.elf targets with *.c32 because .c32 *IS* an ELF file now.

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

diff --git a/com32/menu/Makefile b/com32/menu/Makefile
index 5a9b3c6..e1c700b 100644
--- a/com32/menu/Makefile
+++ b/com32/menu/Makefile
@@ -28,10 +28,10 @@ COMMONOBJS = menumain.o readconfig.o passwd.o drain.o printmsg.o colors.o \
 
 all: $(MODULES) $(TESTFILES)
 
-menu.elf : menu.o $(COMMONOBJS) $(C_LIBS)
+menu.c32 : menu.o $(COMMONOBJS) $(C_LIBS)
 	$(LD) $(LDFLAGS) -o $@ $^
 
-vesamenu.elf : vesamenu.o $(COMMONOBJS) $(C_LIBS)
+vesamenu.c32 : vesamenu.o $(COMMONOBJS) $(C_LIBS)
 	$(LD) $(LDFLAGS) -o $@ $^
 
 tidy dist:
-- 
1.7.4.4




More information about the Syslinux mailing list