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.


Paranoid error checking in userspace utils
[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 ifdef V3_CONFIG_CHECKPOINT
10 LDFLAGS += --script=$(PWD)/ld.chkpt.cmd
11 endif
12
13 EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
14
15
16 v3vee-y :=      palacios-stubs.o \
17                 main.o \
18                 vm.o \
19                 mm.o \
20                 util-queue.o \
21                 util-hashtable.o \
22                 linux-exts.o
23
24 v3vee-$(V3_CONFIG_CONSOLE) += iface-console.o
25 v3vee-$(V3_CONFIG_FILE) += iface-file.o
26 v3vee-$(V3_CONFIG_STREAM) +=    iface-stream.o \
27                                 util-ringbuffer.o
28 v3vee-$(V3_CONFIG_EXT_INSPECTOR) += inspector.o
29 v3vee-$(V3_CONFIG_PACKET) += iface-packet.o
30 v3vee-$(V3_CONFIG_SOCKET) += iface-socket.o
31 v3vee-$(V3_CONFIG_KEYED_STREAMS) += iface-keyed-stream.o
32 v3vee-$(V3_CONFIG_HOST_DEVICE) += iface-host-dev.o
33 v3vee-$(V3_CONFIG_GRAPHICS_CONSOLE) += iface-graphics-console.o
34 v3vee-$(V3_CONFIG_EXT_MACH_CHECK) += mcheck.o
35
36 v3vee-$(V3_CONFIG_VNET) +=      palacios-vnet.o \
37                                 palacios-vnet-ctrl.o   \
38                                 palacios-vnet-brg.o
39
40 v3vee-$(V3_CONFIG_HOST_HYPERCALL) += iface-host-hypercall.o
41 v3vee-$(V3_CONFIG_EXT_CODE_INJECT) += iface-code-inject.o
42 v3vee-$(V3_CONFIG_EXT_ENV_INJECT) += iface-env-inject.o
43 v3vee-$(V3_CONFIG_EXT_SELECTIVE_SYSCALL_EXIT) += iface-syscall.o
44
45
46 v3vee-objs := $(v3vee-y) ../libv3vee.a
47 obj-m := v3vee.o
48
49
50 all:
51         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
52
53 clean:
54         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean
55