ia64/xen-unstable

changeset 4283:c76dc28fbdeb

bitkeeper revision 1.1236.25.33 (4241f3f3eyBU3BiRjebWKwY9VtfWJQ)

Back out asm-offsets.h circular dependency fix
author djm@djmnc4000.(none)
date Wed Mar 23 22:55:47 2005 +0000 (2005-03-23)
parents 267e5b0b3880
children c1cb4b64653c
files xen/arch/ia64/Makefile
line diff
     1.1 --- a/xen/arch/ia64/Makefile	Wed Mar 23 22:27:37 2005 +0000
     1.2 +++ b/xen/arch/ia64/Makefile	Wed Mar 23 22:55:47 2005 +0000
     1.3 @@ -32,22 +32,9 @@ default: $(OBJS) head.o ia64lib.o xen.ld
     1.4  	$(OBJCOPY) -R .note -R .comment -S $(TARGET)-syms $(TARGET)
     1.5  #	$(BASEDIR)/tools/elf-reloc $(MONITOR_BASE) $(LOAD_BASE) $(TARGET)
     1.6  
     1.7 -asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
     1.8 +asm-offsets.s: asm-offsets.c
     1.9  	$(CC) $(CFLAGS) -S -o $@ $<
    1.10  
    1.11 -$(BASEDIR)/include/asm-ia64/.offsets.h.stamp:
    1.12 -# Need such symbol link to make linux headers available
    1.13 -	[ -e $(BASEDIR)/include/linux ] \
    1.14 -	 || ln -s $(BASEDIR)/include/xen $(BASEDIR)/include/linux
    1.15 -	[ -e $(BASEDIR)/include/asm-ia64/xen ] \
    1.16 -	 || ln -s $(BASEDIR)/include/asm-ia64/linux $(BASEDIR)/include/asm-ia64/xen
    1.17 -# Solve circular reference on asm-offsets.h
    1.18 -	[ -f $(BASEDIR)/include/asm-ia64/asm-offsets.h ] \
    1.19 -	 || echo "#define IA64_TASK_SIZE 0" > $(BASEDIR)/include/asm-ia64/asm-offsets.h
    1.20 -#Bad hack. Force asm-offsets.h out-of-date
    1.21 -	 sleep 1
    1.22 -	 touch $@
    1.23 -
    1.24  # I'm sure a Makefile wizard would know a better way to do this
    1.25  xen.lds.s: xen.lds.S
    1.26  	$(CC) -E $(CPPFLAGS) -P -DXEN -D__ASSEMBLY__ \