ia64/xen-unstable

changeset 5815:40bddfe9e390

Fix the issue of complete rebuild for any change

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author fred@localhost.localdomain
date Thu Jul 28 00:57:06 2005 -0800 (2005-07-28)
parents 2df9bb1b4ae0
children a64dae7a0344
files xen/arch/ia64/Makefile
line diff
     1.1 --- a/xen/arch/ia64/Makefile	Wed Jul 27 23:08:20 2005 -0800
     1.2 +++ b/xen/arch/ia64/Makefile	Thu Jul 28 00:57:06 2005 -0800
     1.3 @@ -34,13 +34,13 @@ default: $(OBJS) head.o ia64lib.o xen.ld
     1.4  		 > $(BASEDIR)/System.map
     1.5  
     1.6  
     1.7 -asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp asm-xsi-offsets.h
     1.8 +asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
     1.9  	$(CC) $(CFLAGS) -S -o $@ $<
    1.10  
    1.11  asm-xsi-offsets.s: asm-xsi-offsets.c 
    1.12  	$(CC) $(CFLAGS) -S -o $@ $<
    1.13  	
    1.14 -asm-xsi-offsets.h: asm-xsi-offsets.s
    1.15 +$(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h: asm-xsi-offsets.s
    1.16  	@(set -e; \
    1.17  	  echo "/*"; \
    1.18  	  echo " * DO NOT MODIFY."; \
    1.19 @@ -55,7 +55,6 @@ asm-xsi-offsets.h: asm-xsi-offsets.s
    1.20  	  sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
    1.21  	  echo ""; \
    1.22  	  echo "#endif") <$< >$@
    1.23 -	  mv $@ $(BASEDIR)/include/asm
    1.24  
    1.25  $(BASEDIR)/include/asm-ia64/.offsets.h.stamp:
    1.26  # Need such symbol link to make linux headers available
    1.27 @@ -80,7 +79,7 @@ ia64lib.o:
    1.28  
    1.29  clean:
    1.30  	rm -f *.o *~ core  xen.lds.s $(BASEDIR)/include/asm-ia64/.offsets.h.stamp asm-offsets.s
    1.31 -	rm -f asm-xsi-offsets.s 
    1.32 +	rm -f asm-xsi-offsets.s $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
    1.33  	rm -f lib/*.o
    1.34  
    1.35  # setup.o contains bits of compile.h so it must be blown away