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.


bug fixes for extension framework, and porting of console to new interface
[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                 linux-exts.o
19         
20 ifdef V3_CONFIG_CONSOLE
21         v3vee-objs +=   palacios-console.o
22 endif
23
24 ifdef V3_CONFIG_FILE
25         v3vee-objs +=   palacios-file.o 
26 endif
27
28 ifdef V3_CONFIG_STREAM
29         v3vee-objs +=   palacios-stream.o \
30                         palacios-ringbuffer.o
31 endif
32
33 ifdef V3_CONFIG_EXT_INSPECTOR
34         v3vee-objs += palacios-inspector.o
35 endif
36
37 ifdef V3_CONFIG_VNET
38         v3vee-objs +=   palacios-vnet.o \
39                         palacios-vnet-ctrl.o   \
40                         palacios-vnet-brg.o
41 endif
42
43 ifdef V3_CONFIG_PACKET
44         v3vee-objs += palacios-packet.o
45 endif
46
47 ifdef V3_CONFIG_SOCKET
48         v3vee-objs += palacios-socket.o
49 endif
50
51 ifdef V3_CONFIG_KEYED_STREAMS
52         v3vee-objs += palacios-keyed-stream.o
53 endif
54
55 ifdef V3_CONFIG_HOST_DEVICE
56         v3vee-objs += palacios-host-dev.o
57 endif
58
59 ifdef V3_CONFIG_GRAPHICS_CONSOLE
60         v3vee-objs += palacios-graphics-console.o
61 endif
62
63
64
65 v3vee-objs += ../libv3vee.a 
66
67
68
69 obj-m := v3vee.o
70
71
72
73 all:
74         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
75
76
77
78 clean:
79         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean
80