coreboot-v2/util/vgabios/Makefile
<<
>>
Prefs
   1#
   2# NOTE: You need to add your libpci.a version to CFLAGS below if
   3# pci-userspace.c does not build.
   4#
   5# If you are building on AMD64, you have to use /usr/lib64/libpci.a instead of
   6# /usr/lib/...
   7#
   8
   9CC       =  gcc
  10CFLAGS   =  -Wall -Ix86emu/include -O2 -g
  11
  12INTOBJS  =  int10.o int15.o int16.o int1a.o inte6.o
  13OBJECTS  =  testbios.o helper_exec.o helper_mem.o $(INTOBJS)
  14
  15LIBS     =  x86emu/src/x86emu/libx86emu.a
  16
  17# user space pci is the only option right now.
  18OBJECTS += pci-userspace.o
  19
  20all: testbios
  21
  22testbios: $(OBJECTS) $(LIBS)
  23        $(CC) -o testbios $(OBJECTS) $(LIBS) -lpci
  24 
  25helper_exec.o: helper_exec.c test.h
  26
  27x86emu/src/x86emu/libx86emu.a:
  28        $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux
  29
  30clean:
  31        $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux clean
  32        rm -f *.o *~ testbios
  33
  34distclean: clean
  35        $(MAKE) -C x86emu/src/x86emu/ -f makefile.linux clean
  36
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.