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

[Xen-changelog] [xen-unstable] [IA64] Makefile fix: do not always redo .S targets.



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1183663050 21600
# Node ID a8aeffcc06aa6b6553d4039f3834fed1f45d1494
# Parent  f71dcdd9cddb96a209e91a905615f1768a9cece1
[IA64] Makefile fix: do not always redo .S targets.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 xen/arch/ia64/Makefile |    2 +-
 xen/arch/ia64/Rules.mk |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -r f71dcdd9cddb -r a8aeffcc06aa xen/arch/ia64/Makefile
--- a/xen/arch/ia64/Makefile    Thu Jul 05 13:15:44 2007 -0600
+++ b/xen/arch/ia64/Makefile    Thu Jul 05 13:17:30 2007 -0600
@@ -27,7 +27,6 @@ subdir-y += linux-xen
                > $(BASEDIR)/System.map
 
 # Headers do not depend on auto-generated header, but object files do.
-HDRS    := $(subst $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h,,$(HDRS))
 $(ALL_OBJS): $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
 
 asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
@@ -58,6 +57,7 @@ asm-xsi-offsets.s: asm-xsi-offsets.c $(H
         || ln -sf $(BASEDIR)/include/xen $(BASEDIR)/include/linux
        [ -e $(BASEDIR)/include/asm-ia64/xen ] \
         || ln -sf $(BASEDIR)/include/asm-ia64/linux 
$(BASEDIR)/include/asm-ia64/xen
+       touch $@
 
 # I'm sure a Makefile wizard would know a better way to do this
 xen.lds.s: xen/xen.lds.S $(HDRS)
diff -r f71dcdd9cddb -r a8aeffcc06aa xen/arch/ia64/Rules.mk
--- a/xen/arch/ia64/Rules.mk    Thu Jul 05 13:15:44 2007 -0600
+++ b/xen/arch/ia64/Rules.mk    Thu Jul 05 13:17:30 2007 -0600
@@ -69,3 +69,5 @@ HDRS += $(wildcard $(BASEDIR)/include/as
 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm/*.h)
 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/byteorder/*.h)
 HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/hvm/*.h)
+
+HDRS := $(filter-out %/include/asm-ia64/asm-xsi-offsets.h,$(HDRS))

_______________________________________________
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®.