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.


symbiotic module fixes
[palacios.git] / symmods / linux / test / Makefile
1 # This Makefile is a modified version that uses two recursive Make calls
2 # First the linux module is compiled via the target kernels build system
3 # Second, the module is encapsulated for the Palacios VMM
4
5 V3_MOD_NAME := test
6 V3_MOD_OBJ := test.ko
7 LINUX_MOD_OBJ := test.o
8
9 # This is the target used by the Linux build process
10 ifneq ($(KERNELRELEASE),)
11         obj-m := $(LINUX_MOD_OBJ)
12 else 
13 # These are configuration values to be set
14
15         KERNELDIR := /home/jarusl/linux-2.6.30.y
16         PWD := $(shell pwd)
17         PALACIOSDIR := $(PWD)/../../capsule
18         V3_MOD_TYPE := V3_LINUX_MOD
19
20
21 linux: FORCE
22         $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
23
24 capsule: FORCE 
25         $(MAKE) -C $(PALACIOSDIR) MOD_NAME=$(V3_MOD_NAME) MOD_DIR=$(PWD) \
26                 MOD_OBJ=$(V3_MOD_OBJ) MOD_TYPE=$(V3_MOD_TYPE)
27
28 default: linux capsule  
29
30 FORCE:
31
32 endif