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.


build fixes
[palacios.git] / linux_module / Makefile
1
2 LDFLAGS += --whole-archive  --script=$(PWD)/link.cmd
3
4 EXTRA_CFLAGS  += -I$(PWD)/../palacios/include/ -DMODULE=1 -D__KERNEL__=1
5
6
7 v3vee-objs:=    palacios.o \
8                 palacios-dev.o \
9                 palacios-vm.o \
10                 palacios-file.o \
11                 palacios-console.o \
12                 palacios-mm.o \
13                 palacios-serial.o \
14                 palacios-stream.o \
15                 palacios-queue.o \
16                 palacios-ringbuffer.o \
17                 palacios-debugfs.o
18
19
20 ifdef CONFIG_PALACIOS_VNET
21                 v3vee-objs += palacios-vnet.o           
22 endif
23 ifdef CONFIG_PALACIOS_PACKET
24                 v3vee-objs += palacios-packet.o
25 endif
26 ifdef CONFIG_PALACIOS_SOCKET
27                 v3vee-objs += palacios-socket.o
28 endif
29
30 v3vee-objs += ../libv3vee.a 
31
32
33
34 obj-m := v3vee.o
35
36
37
38 all:
39         $(MAKE) -C $(CONFIG_LINUX_KERN) M=$(PWD) modules
40
41
42
43 clean:
44         $(MAKE) -C $(CONFIG_LINUX_KERN) M=$(PWD) clean
45