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.


added module linker script for checkpoint code
[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
41 v3vee-objs := $(v3vee-y) ../libv3vee.a
42 obj-m := v3vee.o
43
44
45 all:
46         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
47
48 clean:
49         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean
50