~ressu/+junk/xen-ubuntu

« back to all changes in this revision

Viewing changes to tools/remus/kmod/Makefile

  • Committer: sami at haahtinen
  • Date: 2011-05-23 19:11:45 UTC
  • mfrom: (3.1.3 xen)
  • Revision ID: sami@haahtinen.name-20110523191145-55rhsn3endndbbge
* Upload new version to ppa, base off the 4.1.0 package in debian
* Re-enable hvmloader:
  - Use packaged ipxe.
* Workaround incompatibility with xenstored of Xen 4.0.
* New upstream release.
* New upstream release candidate.
* Build documentation using pdflatex.
* Use python 2.6. (closes: #596545)
* Fix lintian override.
* Install new tools: xl, xenpaging.
* Enable blktap2.
  - Use own md5 implementation.
  - Fix includes.
  - Fix linking of blktap2 binaries.
  - Remove optimization setting.
* Temporarily disable hvmloader, wants to download ipxe.
* Remove xenstored pid check from xl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
XEN_ROOT=../../..
2
 
include $(XEN_ROOT)/tools/Rules.mk
3
 
 
4
 
# Should make makefiles export linux build directory!
5
 
# This is a fragile hack to tide us over
6
 
ifeq ($(KERNELS),linux-2.6-xen)
7
 
LINUX_VER=2.6.18-xen
8
 
endif
9
 
ifeq ($(KERNELS),linux-2.6-xen0)
10
 
LINUX_VER=2.6.18-xen0
11
 
endif
12
 
ifeq ($(KERNELS),linux-2.6-pvops)
13
 
LINUX_VER=2.6-pvops
14
 
endif
15
 
 
16
 
KERNELDIR ?= $(XEN_ROOT)/build-linux-$(LINUX_VER)_$(XEN_TARGET_ARCH)
17
 
 
18
 
.PHONY: all
19
 
all:
20
 
        if test -d $(KERNELDIR) && grep -q ^CONFIG_IMQ= $(KERNELDIR)/.config 2>/dev/null; then $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` modules; fi
21
 
 
22
 
.PHONY: install
23
 
install: all
24
 
        if test -d $(KERNELDIR) && grep -q ^CONFIG_IMQ= $(KERNELDIR)/.config 2>/dev/null; then $(MAKE) -C $(KERNELDIR) SUBDIRS=`pwd` INSTALL_MOD_PATH=$(DESTDIR) modules_install; fi
25
 
 
26
 
clean::
27
 
        -rm -rf *.o *.ko *.mod.c *.mod.o Module.symvers .*.cmd .tmp_versions