summaryrefslogtreecommitdiff
path: root/util/vgabios/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-05-05 13:35:18 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-05-06 19:10:32 +0200
commitd6fac38d771119399118516f8066c1564ea7fcec (patch)
tree5e6ab1c7b572607201157a021559765ebaa8a6b7 /util/vgabios/Makefile
parent94a0ae1860e94764f15a6017e2933fce653bbc4b (diff)
vgabios: fix compilation
This utility links in coreboot code, and has been broken for a long time. These changes get it to compile again. Change-Id: I69445a8b3cbfc9a2b560c68b8de2e080837ec502 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10112 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/vgabios/Makefile')
-rw-r--r--util/vgabios/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/vgabios/Makefile b/util/vgabios/Makefile
index e187122c2e..8c8ddffa6f 100644
--- a/util/vgabios/Makefile
+++ b/util/vgabios/Makefile
@@ -12,7 +12,7 @@ CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
CFLAGS += -Wstrict-aliasing -Wshadow -Wextra
-INCLUDES = -Iinclude -I../../src/device/oprom/include/
+INCLUDES = -Iinclude -I../../src/device/oprom/include/ -I../../src --include include/stdtypes.h
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
@@ -33,7 +33,7 @@ helper_exec.o: helper_exec.c test.h
clean:
rm -f *.o *~ testbios
-%.o: ../../src/devices/oprom/x86emu/%.c
+%.o: ../../src/device/oprom/x86emu/%.c
$(CC) $(CFLAGS) $(INCLUDES) -include stdio.h -c -o $@ $^
%.o: %.c