[coreboot] [commit] r5451 - in trunk/util/vgabios: . include/console
repository service
svn at coreboot.org
Fri Apr 16 13:45:17 CEST 2010
Author: stepan
Date: Fri Apr 16 13:45:16 2010
New Revision: 5451
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5451
Log:
enable more warnings for vgabios utility, and enable some debugging
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/util/vgabios/Makefile
trunk/util/vgabios/include/console/console.h
Modified: trunk/util/vgabios/Makefile
==============================================================================
--- trunk/util/vgabios/Makefile Fri Apr 16 03:45:44 2010 (r5450)
+++ trunk/util/vgabios/Makefile Fri Apr 16 13:45:16 2010 (r5451)
@@ -7,7 +7,12 @@
#
CC = gcc
-CFLAGS = -Wall -Iinclude -I../../src/devices/oprom/include/ -O2 -g
+CFLAGS = -O2 -g -fomit-frame-pointer
+CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
+CFLAGS += -Wstrict-aliasing -Wshadow -Wextra
+
+INCLUDES = -Iinclude -I../../src/devices/oprom/include/
INTOBJS = int10.o int15.o int16.o int1a.o inte6.o
X86EMUOBJS = sys.o decode.o ops.o ops2.o prim_ops.o fpu.o debug.o
@@ -29,5 +34,8 @@
rm -f *.o *~ testbios
%.o: ../../src/devices/oprom/x86emu/%.c
- $(CC) $(CFLAGS) -include stdio.h -c -o $@ $^
+ $(CC) $(CFLAGS) $(INCLUDES) -include stdio.h -c -o $@ $^
+
+%.o: %.c
+ $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
Modified: trunk/util/vgabios/include/console/console.h
==============================================================================
--- trunk/util/vgabios/include/console/console.h Fri Apr 16 03:45:44 2010 (r5450)
+++ trunk/util/vgabios/include/console/console.h Fri Apr 16 13:45:16 2010 (r5451)
@@ -1,3 +1,4 @@
#ifndef _CONSOLE_CONSOLE_H
#define _CONSOLE_CONSOLE_H
+#define CONFIG_X86EMU_DEBUG 1
#endif
More information about the coreboot
mailing list