ia64/xen-unstable

annotate buildconfigs/src.tarball @ 15841:c5f735271e22

[IA64] Foreign p2m: Fix vti domain builder.

It should set arch_domain::convmem_end.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu Sep 06 13:48:43 2007 -0600 (2007-09-06)
parents a1b6555a37bf
children 34f7017a5941
rev   line source
ian@15224 1 XEN_LINUX_MIRROR ?= http://www.kernel.org/pub/linux/kernel/v2.6/
ian@15224 2 XEN_LINUX_TARBALL ?= linux-$(LINUX_VER)-xen.tar.bz2
ian@15224 3
ian@15542 4 # Update using ketchup instead of manipulating tarball manually.
ian@15542 5 XEN_LINUX_TARBALL_KETCHUP ?= n
ian@15542 6
ian@15224 7 LINUX_SRCDIR ?= linux-$(LINUX_VER)
ian@15224 8
ian@15543 9 KETCHUP ?= python buildconfigs/ketchup
ian@15542 10
ian@15224 11 vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
ian@15224 12
ian@15224 13 # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
ian@15224 14 linux-%.tar.bz2:
ian@15224 15 @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
ian@15224 16 wget $(XEN_LINUX_MIRROR)/$@ -O./$@
ian@15224 17
ian@15224 18 # XXX create a pristine tree for diff -Nurp convenience
ian@15224 19
ian@15542 20 ifeq ($(XEN_LINUX_TARBALL_KETCHUP),y)
ian@15775 21 %/.valid-src: $(__XEN_LINUX_UPDATE)
ian@15542 22 $(KETCHUP) -d $(@D) $(LINUX_VER)
ian@15542 23 touch $@ # update timestamp to avoid rebuild
ian@15542 24 else
ian@15775 25 %/.valid-src: $(__XEN_LINUX_UPDATE) %.tar.bz2
ian@15224 26 rm -rf tmp-linux-$* $(@D)
ian@15224 27 mkdir -p tmp-linux-$*
ian@15224 28 tar -C tmp-linux-$* -jxf $<
ian@15224 29 -@rm -f tmp-linux-$*/pax_global_header
ian@15224 30 mv tmp-linux-$*/* $(@D)
ian@15224 31 @rm -rf tmp-linux-$*
ian@15224 32 touch $@ # update timestamp to avoid rebuild
ian@15542 33 endif