direct-io.hg

view buildconfigs/src.tarball @ 15516:fa9fa5f98c91

Simplify Unisys ES7000 code in light of the fact we do not support
legacy boxes with very non-standard APIC setup.
From: Raj Subrahmanian <raj.subrahmanian@unisys.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Jul 10 10:07:00 2007 +0100 (2007-07-10)
parents 231bfe08fdbf
children
line source
1 XEN_LINUX_MIRROR ?= http://www.kernel.org/pub/linux/kernel/v2.6/
2 XEN_LINUX_TARBALL ?= linux-$(LINUX_VER)-xen.tar.bz2
4 # Update using ketchup instead of manipulating tarball manually.
5 XEN_LINUX_TARBALL_KETCHUP ?= n
7 LINUX_SRCDIR ?= linux-$(LINUX_VER)
9 KETCHUP ?= python buildconfigs/ketchup
11 vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
13 # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
14 linux-%.tar.bz2:
15 @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
16 wget $(XEN_LINUX_MIRROR)/$@ -O./$@
18 # XXX create a pristine tree for diff -Nurp convenience
20 ifeq ($(XEN_LINUX_TARBALL_KETCHUP),y)
21 %/.valid-src:
22 $(KETCHUP) -d $(@D) $(LINUX_VER)
23 touch $@ # update timestamp to avoid rebuild
24 else
25 %/.valid-src: %.tar.bz2
26 rm -rf tmp-linux-$* $(@D)
27 mkdir -p tmp-linux-$*
28 tar -C tmp-linux-$* -jxf $<
29 -@rm -f tmp-linux-$*/pax_global_header
30 mv tmp-linux-$*/* $(@D)
31 @rm -rf tmp-linux-$*
32 touch $@ # update timestamp to avoid rebuild
33 endif