util/vgabios: build/warning fixes.
Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4312 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -7,11 +7,7 @@
|
||||
#
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Ix86emu/include -O2 -g \
|
||||
-DLIBPCI_MAJOR_VERSION=2 \
|
||||
-DLIBPCI_MINOR_VERSION=1 \
|
||||
-DLIBPCI_MICRO_VERSION=11
|
||||
|
||||
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)
|
||||
@@ -20,12 +16,11 @@ 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)
|
||||
$(CC) -o testbios $(OBJECTS) $(LIBS) -lpci
|
||||
|
||||
helper_exec.o: helper_exec.c test.h
|
||||
|
||||
|
Reference in New Issue
Block a user