From: Matt Fleming Date: Mon, 13 Feb 2012 14:27:36 +0000 (+0000) Subject: com32/menu: vesamenu.c32 and menu.c32 require multiple obj files X-Git-Tag: syslinux-5.00-pre1~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88;p=platform%2Fupstream%2Fsyslinux.git com32/menu: vesamenu.c32 and menu.c32 require multiple obj files 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 --- 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: