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.


Corrected keyboard hook syntax for when 0x80 delay port intercept is turned on
[palacios.git] / linux_module / Makefile
index a1a4349..d028d2e 100644 (file)
@@ -9,69 +9,38 @@ endif
 EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
 
 
-v3vee-objs :=  palacios.o \
-               palacios-dev.o \
-               palacios-vm.o \
-               palacios-mm.o \
-               palacios-queue.o \
-               palacios-hashtable.o
-
-ifdef V3_CONFIG_CONSOLE
-       v3vee-objs +=   palacios-console.o
-endif
-
-ifdef V3_CONFIG_FILE
-       v3vee-objs +=   palacios-file.o 
-endif
-
-ifdef V3_CONFIG_STREAM
-       v3vee-objs +=   palacios-stream.o \
-                       palacios-ringbuffer.o
-endif
-
-ifdef V3_CONFIG_EXT_INSPECTOR
-       v3vee-objs += palacios-inspector.o
-endif
-
-ifdef V3_CONFIG_VNET
-       v3vee-objs += palacios-vnet.o palacios-vnet-bridge.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 
-
-
-
+v3vee-y :=     palacios-stubs.o \
+               main.o \
+               vm.o \
+               mm.o \
+               util-queue.o \
+               util-hashtable.o \
+               linux-exts.o
+
+v3vee-$(V3_CONFIG_CONSOLE) += iface-console.o
+v3vee-$(V3_CONFIG_FILE) += iface-file.o
+v3vee-$(V3_CONFIG_STREAM) +=   iface-stream.o \
+                               util-ringbuffer.o
+v3vee-$(V3_CONFIG_EXT_INSPECTOR) += inspector.o
+v3vee-$(V3_CONFIG_PACKET) += iface-packet.o
+v3vee-$(V3_CONFIG_SOCKET) += iface-socket.o
+v3vee-$(V3_CONFIG_KEYED_STREAMS) += iface-keyed-stream.o
+v3vee-$(V3_CONFIG_HOST_DEVICE) += iface-host-dev.o
+v3vee-$(V3_CONFIG_GRAPHICS_CONSOLE) += iface-graphics-console.o
+v3vee-$(V3_CONFIG_EXT_MACH_CHECK) += mcheck.o
+
+v3vee-$(V3_CONFIG_VNET) +=     palacios-vnet.o \
+                               palacios-vnet-ctrl.o   \
+                               palacios-vnet-brg.o
+
+
+v3vee-objs := $(v3vee-y) ../libv3vee.a
 obj-m := v3vee.o
 
 
-
 all:
        $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
 
-
-
 clean:
        $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean