diff options
author | Matt Fleming <matt.fleming@intel.com> | 2011-11-25 15:54:48 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2011-12-02 12:13:30 +0000 |
commit | 086d698c642f0b8901757a40cef56b04d05bf19c (patch) | |
tree | 1dfb9e228c0ce1febe7d08e35cef26bb8c1b71a6 /com32/elflink/ldlinux/Makefile | |
parent | 9273fdfbac8bdb76d66ba2b2dbfbd860ad0434b3 (diff) | |
download | syslinux-086d698c642f0b8901757a40cef56b04d05bf19c.tar.gz |
ldlinux: Add eprintf() to print to VGA and serial
printf() is used heavily in the ldlinux code but that only displays
things on the VGA console, not on serial. Introduce eprintf(), which
gives us the benefit of format strings but will also print to both VGA
and serial.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/Makefile')
-rw-r--r-- | com32/elflink/ldlinux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile index 32780c49..5927e500 100644 --- a/com32/elflink/ldlinux/Makefile +++ b/com32/elflink/ldlinux/Makefile @@ -20,7 +20,7 @@ all: ldlinux.c32 ldlinux_lnx.a ldlinux.c32 : ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o \ adv.o ipappend.o execute.o kernel.o get_key.o \ - advwrite.o setadv.o + advwrite.o setadv.o eprintf.o $(LD) $(LDFLAGS) -o $@ $^ LNXLIBOBJS = get_key.lo |