diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-01-13 12:07:42 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-01-19 17:17:50 +1100 |
commit | ca610c931e2b0004c44f748cb813580b09c60489 (patch) | |
tree | cf17ebaa02078827068b534bb95d4540bd848678 /board-qemu/virtio-net/Makefile | |
parent | adde61dfebe5ba4c519b120e8b33f1f8a3c93151 (diff) | |
download | SLOF-ca610c931e2b0004c44f748cb813580b09c60489.zip SLOF-ca610c931e2b0004c44f748cb813580b09c60489.tar.gz SLOF-ca610c931e2b0004c44f748cb813580b09c60489.tar.bz2 |
Move virtio to a separate library
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'board-qemu/virtio-net/Makefile')
-rw-r--r-- | board-qemu/virtio-net/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board-qemu/virtio-net/Makefile b/board-qemu/virtio-net/Makefile index 765044e..009e10f 100644 --- a/board-qemu/virtio-net/Makefile +++ b/board-qemu/virtio-net/Makefile @@ -17,7 +17,10 @@ endif include $(TOP)/make.rules CPPFLAGS = -I./ -I$(TOP)/clients/net-snk/include/ -I$(TOP)/lib/libc/include/ \ - -I$(TOP)/lib/libhvcall -I$(INCLCMNDIR) -I$(INCLCMNDIR)/$(CPUARCH) + -I$(TOP)/lib/libhvcall -I$(TOP)/lib/libvirtio -I$(INCLCMNDIR) \ + -I$(INCLCMNDIR)/$(CPUARCH) + +LIBS = $(TOP)/lib/libc.a $(TOP)/lib/libhvcall.a $(TOP)/lib/libvirtio.a SRCS = module_entry.c virtio-net.c vn-pci.c @@ -25,7 +28,7 @@ OBJS = $(SRCS:%.c=%.o) all: net_virtio.elf -net_virtio.elf: $(OBJS) $(TOP)/lib/libc.a $(TOP)/lib/libhvcall.a +net_virtio.elf: $(OBJS) $(LIBS) $(LD) $(LDFLAGS) $^ -o $@ -T virtio-net.lds -N -q $(STRIP) --strip-unneeded $@ |