From 086d698c642f0b8901757a40cef56b04d05bf19c Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Fri, 25 Nov 2011 15:54:48 +0000 Subject: 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 --- com32/elflink/ldlinux/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'com32/elflink/ldlinux/Makefile') 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 -- cgit v1.2.1