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 to merge the Palacios configuration parameters with Linux parameters.
[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/ -DMODULE=1 -D__KERNEL__=1
10
11
12 v3vee-objs:=    palacios.o \
13                 palacios-dev.o \
14                 palacios-vm.o \
15                 palacios-file.o \
16                 palacios-console.o \
17                 palacios-mm.o \
18                 palacios-serial.o \
19                 palacios-stream.o \
20                 palacios-queue.o \
21                 palacios-ringbuffer.o \
22                 palacios-debugfs.o
23
24
25 ifdef V3_CONFIG_PALACIOS_VNET
26                 v3vee-objs += palacios-vnet.o           
27 endif
28 ifdef V3_CONFIG_PALACIOS_PACKET
29                 v3vee-objs += palacios-packet.o
30 endif
31 ifdef V3_CONFIG_PALACIOS_SOCKET
32                 v3vee-objs += palacios-socket.o
33 endif
34
35 v3vee-objs += ../libv3vee.a 
36
37
38
39 obj-m := v3vee.o
40
41
42
43 all:
44         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
45
46
47
48 clean:
49         $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean
50