ia64/xen-unstable

view buildconfigs/src.tarball @ 15896:42d4313b5fdd

[IA64] update .hgignore for xenitp

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Alex Williamson <alex.williamson@hp.com>
date Mon Sep 24 14:21:02 2007 -0600 (2007-09-24)
parents a1b6555a37bf
children 34f7017a5941
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: $(__XEN_LINUX_UPDATE)
22 $(KETCHUP) -d $(@D) $(LINUX_VER)
23 touch $@ # update timestamp to avoid rebuild
24 else
25 %/.valid-src: $(__XEN_LINUX_UPDATE) %.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