Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Ported host device support from monolithic embedding
[palacios.git] / linux_module / Makefile
index 04c6d7a..00fcbc4 100644 (file)
@@ -6,32 +6,59 @@ ifdef V3_CONFIG_SYMMOD
 LDFLAGS += --script=$(PWD)/ld.symmod.cmd
 endif
 
-EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -DMODULE=1 -D__KERNEL__=1
+EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
 
 
-v3vee-objs:=   palacios.o \
+v3vee-objs :=  palacios.o \
                palacios-dev.o \
                palacios-vm.o \
-               palacios-file.o \
-               palacios-console.o \
                palacios-mm.o \
-               palacios-serial.o \
-               palacios-stream.o \
                palacios-queue.o \
-               palacios-ringbuffer.o \
-               palacios-debugfs.o
+               palacios-hashtable.o
 
+ifdef V3_CONFIG_CONSOLE
+       v3vee-objs +=   palacios-console.o
+endif
 
-ifdef V3_CONFIG_PALACIOS_VNET
-               v3vee-objs += palacios-vnet.o           
+ifdef V3_CONFIG_FILE
+       v3vee-objs +=   palacios-file.o 
 endif
-ifdef V3_CONFIG_PALACIOS_PACKET
-               v3vee-objs += palacios-packet.o
+
+ifdef V3_CONFIG_STREAM
+       v3vee-objs +=   palacios-stream.o \
+                       palacios-ringbuffer.o
 endif
-ifdef V3_CONFIG_PALACIOS_SOCKET
-               v3vee-objs += palacios-socket.o
+
+ifdef V3_CONFIG_EXT_INSPECTOR
+       v3vee-objs += palacios-inspector.o
+endif
+
+ifdef V3_CONFIG_VNET
+       v3vee-objs += palacios-vnet.o           
+endif
+
+ifdef V3_CONFIG_PACKET
+       v3vee-objs += palacios-packet.o
+endif
+
+ifdef V3_CONFIG_SOCKET
+       v3vee-objs += palacios-socket.o
 endif
 
+ifdef V3_CONFIG_KEYED_STREAMS
+       v3vee-objs += palacios-keyed-stream.o
+endif
+
+ifdef V3_CONFIG_HOST_DEVICE
+       v3vee-objs += palacios-host-dev.o
+endif
+
+ifdef V3_CONFIG_GRAPHICS_CONSOLE
+       v3vee-objs += palacios-graphics-console.o
+endif
+
+
+
 v3vee-objs += ../libv3vee.a