[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] stubdom: avoid re-making mk-headers and thus newlib etc.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216976813 -3600
# Node ID a7642acd9caf44f83fa7ab0348246db3f91b6afb
# Parent  526e14c2eb68c5035b3949fa1b5b8e0fe27ccbc6
stubdom: avoid re-making mk-headers and thus newlib etc.

Using a stamp file for mk-headers permits to avoid to re-run newlib
configuration etc.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 .hgignore        |    1 +
 stubdom/Makefile |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -r 526e14c2eb68 -r a7642acd9caf .hgignore
--- a/.hgignore Fri Jul 25 09:49:06 2008 +0100
+++ b/.hgignore Fri Jul 25 10:06:53 2008 +0100
@@ -91,6 +91,7 @@
 ^stubdom/libxc$
 ^stubdom/lwip-.*$
 ^stubdom/mini-os-.*$
+^stubdom/mk-headers$
 ^stubdom/newlib-.*$
 ^stubdom/pciutils-.*$
 ^stubdom/zlib-.*$
diff -r 526e14c2eb68 -r a7642acd9caf stubdom/Makefile
--- a/stubdom/Makefile  Fri Jul 25 09:49:06 2008 +0100
+++ b/stubdom/Makefile  Fri Jul 25 10:06:53 2008 +0100
@@ -154,7 +154,6 @@ lwip: lwip-$(LWIP_VERSION).tar.gz
 .PHONY: $(CROSS_ROOT)
 $(CROSS_ROOT): cross-newlib cross-zlib cross-libpci
 
-.PHONY: mk-headers
 mk-headers:
        mkdir -p include/xen && \
           ln -sf $(addprefix ../../,$(wildcard 
$(XEN_ROOT)/xen/include/public/*.h)) include/xen && \
@@ -191,6 +190,7 @@ endif
        [ ! -h ioemu/config-host.h ] || rm -f ioemu/config-host.h
        [ ! -h ioemu/config-host.mak ] || rm -f ioemu/config-host.mak
        $(MAKE) -C $(MINI_OS) links
+       touch mk-headers
 
 TARGETS_MINIOS=$(addprefix mini-os-,$(TARGETS))
 $(TARGETS_MINIOS): mini-os-%:
@@ -328,6 +328,7 @@ crossclean: clean
        rm -fr $(CROSS_ROOT)
        rm -fr newlib-build
        rm -fr zlib-$(ZLIB_VERSION) pciutils-$(LIBPCI_VERSION)
+       rm -f mk-headers
 
 # clean patched sources
 .PHONY: patchclean

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.