ia64/xen-unstable

changeset 3842:2ba0cb1921de

bitkeeper revision 1.1210 (42135d344yR5vSwI1O6BZ3rfVvGIJg)

Don't depend on auto-generated header asm-offsets.h.
Signed-off-by: keir.fraser@cl.cam.ac.uk
author kaf24@scramble.cl.cam.ac.uk
date Wed Feb 16 14:48:20 2005 +0000 (2005-02-16)
parents 8f257979f5c7
children 184c3ab84dc7
files xen/Makefile xen/Rules.mk
line diff
     1.1 --- a/xen/Makefile	Wed Feb 16 13:13:29 2005 +0000
     1.2 +++ b/xen/Makefile	Wed Feb 16 14:48:20 2005 +0000
     1.3 @@ -99,8 +99,7 @@ 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") <$< >$@.tmp
     1.8 -	@if cmp -s $@.tmp $@; then rm $@.tmp; else rm $@; mv $@.tmp $@; fi
     1.9 +	  echo "#endif") <$< >$@
    1.10  
    1.11  .PHONY: default debug install dist clean delete-unfresh-files TAGS
    1.12  
     2.1 --- a/xen/Rules.mk	Wed Feb 16 13:13:29 2005 +0000
     2.2 +++ b/xen/Rules.mk	Wed Feb 16 14:48:20 2005 +0000
     2.3 @@ -21,7 +21,8 @@ HDRS    := $(wildcard $(BASEDIR)/include
     2.4  HDRS    += $(wildcard $(BASEDIR)/include/public/*.h)
     2.5  HDRS    += $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/*.h)
     2.6  HDRS    += $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/$(TARGET_SUBARCH)/*.h)
     2.7 -# compile.h is always regenerated, but other files shouldn't be rebuilt
     2.8 +# Do not depend on auto-generated header files.
     2.9 +HDRS    := $(subst $(BASEDIR)/include/asm-$(TARGET_ARCH)/asm-offsets.h,,$(HDRS))
    2.10  HDRS    := $(subst $(BASEDIR)/include/xen/banner.h,,$(HDRS))
    2.11  HDRS    := $(subst $(BASEDIR)/include/xen/compile.h,,$(HDRS))
    2.12