ia64/xen-unstable

changeset 3832:beb89e8da5a2

bitkeeper revision 1.1204 (421096e2bPRPzPc4dLX7thZr1TdfZA)

Fixed unnecessary rebuilds of all of Xen each time, due to
asm-offset.h

Signed-off-by: michael.fetterman@cl.cam.ac.uk
author mafetter@fleming.research
date Mon Feb 14 12:17:38 2005 +0000 (2005-02-14)
parents 2bd5457fa15e
children 73f9c9685211
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Mon Feb 14 12:17:32 2005 +0000
     1.2 +++ b/xen/Makefile	Mon Feb 14 12:17:38 2005 +0000
     1.3 @@ -99,7 +99,8 @@ include/asm-$(TARGET_ARCH)/asm-offsets.h
     1.4  	  echo ""; \
     1.5  	  sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
     1.6  	  echo ""; \
     1.7 -	  echo "#endif") <$< >$@
     1.8 +	  echo "#endif") <$< >$@.tmp
     1.9 +	@if cmp -s $@.tmp $@; then rm $@.tmp; else rm $@; mv $@.tmp $@; fi
    1.10  
    1.11  .PHONY: default debug install dist clean delete-unfresh-files TAGS
    1.12