[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix the issue of complete rebuild for any change



# HG changeset patch
# User fred@xxxxxxxxxxxxxxxxxxxxx
# Node ID 40bddfe9e3903a09b9b5751b68c59c8686bd04d4
# Parent  2df9bb1b4ae02bc36fa39110e3dfe802b133029e
Fix the issue of complete rebuild for any change

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

diff -r 2df9bb1b4ae0 -r 40bddfe9e390 xen/arch/ia64/Makefile
--- a/xen/arch/ia64/Makefile    Thu Jul 28 07:08:20 2005
+++ b/xen/arch/ia64/Makefile    Thu Jul 28 08:57:06 2005
@@ -34,13 +34,13 @@
                 > $(BASEDIR)/System.map
 
 
-asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp 
asm-xsi-offsets.h
+asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp 
$(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
        $(CC) $(CFLAGS) -S -o $@ $<
 
 asm-xsi-offsets.s: asm-xsi-offsets.c 
        $(CC) $(CFLAGS) -S -o $@ $<
        
-asm-xsi-offsets.h: asm-xsi-offsets.s
+$(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h: asm-xsi-offsets.s
        @(set -e; \
          echo "/*"; \
          echo " * DO NOT MODIFY."; \
@@ -55,7 +55,6 @@
          sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 
/* \3 */:; s:->::; p;}"; \
          echo ""; \
          echo "#endif") <$< >$@
-         mv $@ $(BASEDIR)/include/asm
 
 $(BASEDIR)/include/asm-ia64/.offsets.h.stamp:
 # Need such symbol link to make linux headers available
@@ -80,7 +79,7 @@
 
 clean:
        rm -f *.o *~ core  xen.lds.s 
$(BASEDIR)/include/asm-ia64/.offsets.h.stamp asm-offsets.s
-       rm -f asm-xsi-offsets.s 
+       rm -f asm-xsi-offsets.s $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
        rm -f lib/*.o
 
 # setup.o contains bits of compile.h so it must be blown away

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.