summaryrefslogtreecommitdiffstats
path: root/util/vgabios/Makefile
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-07-08 17:18:27 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-07-08 17:18:27 +0000
commit815212652994a43d3e05dc864343b722b70a129d (patch)
treec4f0d5c97b4c175f40889e126b816a5d7036151d /util/vgabios/Makefile
parent4c5060dc2bf8f944c54361f7913d20d02fff65a0 (diff)
downloadcoreboot-815212652994a43d3e05dc864343b722b70a129d.tar.gz
coreboot-815212652994a43d3e05dc864343b722b70a129d.tar.bz2
coreboot-815212652994a43d3e05dc864343b722b70a129d.zip
added testbios for V2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/Makefile')
-rw-r--r--util/vgabios/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/util/vgabios/Makefile b/util/vgabios/Makefile
new file mode 100644
index 000000000000..d1c10f236129
--- /dev/null
+++ b/util/vgabios/Makefile
@@ -0,0 +1,28 @@
+CC = gcc
+CFLAGS = -Wall -Ix86emu/include -O2 -g
+
+INTOBJS = int10.o int15.o int16.o int1a.o inte6.o
+OBJECTS = testbios.o helper_exec.o helper_mem.o $(INTOBJS)
+
+LIBS = x86emu/src/x86emu/libx86emu.a
+
+# user space pci is the only option right now.
+OBJECTS += pci-userspace.o
+LIBS += /usr/lib/libpci.a
+
+all: testbios
+
+testbios: $(OBJECTS) $(LIBS)
+ $(CC) -o testbios $(OBJECTS) $(LIBS)
+
+helper_exec.o: helper_exec.c test.h
+
+x86emu/src/x86emu/libx86emu.a:
+ $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux
+
+clean:
+ $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux clean
+ rm -f *.o *~ testbios
+
+distclean: clean
+ $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux clean