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.


Functional host device support in Linux kernel module for both busywait and select
[palacios.git] / linux_module / Makefile
1 include $(PWD)/../.config
2
3 LDFLAGS += --whole-archive  --script=$(PWD)/ld.cmd
4
5 ifdef V3_CONFIG_SYMMOD
6 LDFLAGS += --script=$(PWD)/ld.symmod.cmd
7 endif
8
9 EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
10
11
12 v3vee-objs :=   palacios.o \
13                 palacios-dev.o \
14                 palacios-vm.o \
15                 palacios-mm.o \
16                 palacios-queue.o \
17                 palacios-hashtable.o
18
19 ifdef V3_CONFIG_CONSOLE
20         v3vee-objs +=   palacios-console.o
21 endif
22
23 ifdef V3_CONFIG_FILE
24         v3vee-objs +=   palacios-file.o 
25 endif
26
27 ifdef V3_CONFIG_STREAM
28         v3vee-objs +=   palacios-stream.o \
29                         palacios-ringbuffer.o
30 endif
31
32 ifdef V3_CONFIG_EXT_INSPECTOR
33         v3vee-objs += palacios-inspector.o
34 endif
35
36 ifdef V3_CONFIG_VNET
37         v3vee-objs +=   palacios-vnet.o \
38                         palacios-vnet-ctrl.o   \
39                         palacios-vnet-brg.o
40 endif
41
42 ifdef V3_CONFIG_PACKET
43         v3vee-objs += palacios-packet.o
44 endif
45
46 ifdef V3_CONFIG_SOCKET
47         v3vee-objs += palacios-socket.o
48 endif
49
50 ifdef V3_CONFIG_KEYED_STREAMS
51         v3vee-objs += palacios-keyed-stream.o
52 endif
53
54 ifdef V3_CONFIG_HOST_DEVICE
55         v3vee-objs += palacios-host-dev.o
56 endif
57
58 ifdef V3_CONFIG_GRAPHICS_CONSOLE
59         v3vee-objs += palacios-graphics-console.o
60 endif
61
62
63
64 v3vee-objs += ../libv3vee.a 
65
66
67
68 obj-m := v3vee.o
69
70
71
72 all:
73         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
74
75
76
77 clean:
78         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean
79