From: BitKeeper B. <ri...@su...> - 2005-03-26 00:04:54
|
ChangeSet 1.1311.1.33, 2005/03/23 15:55:47-07:00, djm@djmnc4000.(none) Back out asm-offsets.h circular dependency fix Makefile | 15 +-------------- 1 files changed, 1 insertion(+), 14 deletions(-) diff -Nru a/xen/arch/ia64/Makefile b/xen/arch/ia64/Makefile --- a/xen/arch/ia64/Makefile 2005-03-25 19:04:52 -05:00 +++ b/xen/arch/ia64/Makefile 2005-03-25 19:04:52 -05:00 @@ -32,21 +32,8 @@ $(OBJCOPY) -R .note -R .comment -S $(TARGET)-syms $(TARGET) # $(BASEDIR)/tools/elf-reloc $(MONITOR_BASE) $(LOAD_BASE) $(TARGET) -asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp +asm-offsets.s: asm-offsets.c $(CC) $(CFLAGS) -S -o $@ $< - -$(BASEDIR)/include/asm-ia64/.offsets.h.stamp: -# Need such symbol link to make linux headers available - [ -e $(BASEDIR)/include/linux ] \ - || ln -s $(BASEDIR)/include/xen $(BASEDIR)/include/linux - [ -e $(BASEDIR)/include/asm-ia64/xen ] \ - || ln -s $(BASEDIR)/include/asm-ia64/linux $(BASEDIR)/include/asm-ia64/xen -# Solve circular reference on asm-offsets.h - [ -f $(BASEDIR)/include/asm-ia64/asm-offsets.h ] \ - || echo "#define IA64_TASK_SIZE 0" > $(BASEDIR)/include/asm-ia64/asm-offsets.h -#Bad hack. Force asm-offsets.h out-of-date - sleep 1 - touch $@ # I'm sure a Makefile wizard would know a better way to do this xen.lds.s: xen.lds.S |