ia64/xen-unstable

changeset 15475:a8aeffcc06aa

[IA64] Makefile fix: do not always redo .S targets.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Thu Jul 05 13:17:30 2007 -0600 (2007-07-05)
parents f71dcdd9cddb
children 5927f10462cd
files xen/arch/ia64/Makefile xen/arch/ia64/Rules.mk
line diff
     1.1 --- a/xen/arch/ia64/Makefile	Thu Jul 05 13:15:44 2007 -0600
     1.2 +++ b/xen/arch/ia64/Makefile	Thu Jul 05 13:17:30 2007 -0600
     1.3 @@ -27,7 +27,6 @@ subdir-y += linux-xen
     1.4  		> $(BASEDIR)/System.map
     1.5  
     1.6  # Headers do not depend on auto-generated header, but object files do.
     1.7 -HDRS    := $(subst $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h,,$(HDRS))
     1.8  $(ALL_OBJS): $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
     1.9  
    1.10  asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
    1.11 @@ -58,6 +57,7 @@ asm-xsi-offsets.s: asm-xsi-offsets.c $(H
    1.12  	 || ln -sf $(BASEDIR)/include/xen $(BASEDIR)/include/linux
    1.13  	[ -e $(BASEDIR)/include/asm-ia64/xen ] \
    1.14  	 || ln -sf $(BASEDIR)/include/asm-ia64/linux $(BASEDIR)/include/asm-ia64/xen
    1.15 +	touch $@
    1.16  
    1.17  # I'm sure a Makefile wizard would know a better way to do this
    1.18  xen.lds.s: xen/xen.lds.S $(HDRS)
     2.1 --- a/xen/arch/ia64/Rules.mk	Thu Jul 05 13:15:44 2007 -0600
     2.2 +++ b/xen/arch/ia64/Rules.mk	Thu Jul 05 13:17:30 2007 -0600
     2.3 @@ -69,3 +69,5 @@ HDRS += $(wildcard $(BASEDIR)/include/as
     2.4  HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/asm/*.h)
     2.5  HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/linux/byteorder/*.h)
     2.6  HDRS += $(wildcard $(BASEDIR)/include/asm-ia64/hvm/*.h)
     2.7 +
     2.8 +HDRS := $(filter-out %/include/asm-ia64/asm-xsi-offsets.h,$(HDRS))