aboutsummaryrefslogtreecommitdiff
path: root/util/vgabios/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-01-17 11:08:08 +0000
committerStefan Reinauer <stepan@openbios.org>2005-01-17 11:08:08 +0000
commit18588446479fbac700d49e3d5b0061e436ca9be6 (patch)
treecf20273364c20d94d7a02ade8e8c620223f322dc /util/vgabios/Makefile
parent1d6b46060c303f7902ec414f544984af019b9908 (diff)
Make building with different libpci versions easier. The defines might go into
official libpci for 2.2 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/Makefile')
-rw-r--r--util/vgabios/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/util/vgabios/Makefile b/util/vgabios/Makefile
index d1c10f2361..5fadba6ab8 100644
--- a/util/vgabios/Makefile
+++ b/util/vgabios/Makefile
@@ -1,5 +1,17 @@
+#
+# NOTE: You need to add your libpci.a version to CFLAGS below if
+# pci-userspace.c does not build.
+#
+# If you are building on AMD64, you have to use /usr/lib64/libpci.a instead of
+# /usr/lib/...
+#
+
CC = gcc
-CFLAGS = -Wall -Ix86emu/include -O2 -g
+CFLAGS = -Wall -Ix86emu/include -O2 -g \
+ -DLIBPCI_MAJOR_VERSION=2 \
+ -DLIBPCI_MINOR_VERSION=1 \
+ -DLIBPCI_MICRO_VERSION=11
+
INTOBJS = int10.o int15.o int16.o int1a.o inte6.o
OBJECTS = testbios.o helper_exec.o helper_mem.o $(INTOBJS)