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

[Xen-changelog] [xen-unstable] x86: Fix arch/x86/xen.lds dependencies.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250697626 -3600
# Node ID a3ae60f8b546a142c8b1d4fee67cc2394e6dabc9
# Parent  4e2ffbd99aebd76da7defac4ce0e9786f68d5121
x86: Fix arch/x86/xen.lds dependencies.

gcc can get the dependency target name wrong (appends .o).

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/Makefile |    2 ++
 1 files changed, 2 insertions(+)

diff -r 4e2ffbd99aeb -r a3ae60f8b546 xen/arch/x86/Makefile
--- a/xen/arch/x86/Makefile     Wed Aug 19 14:23:30 2009 +0100
+++ b/xen/arch/x86/Makefile     Wed Aug 19 17:00:26 2009 +0100
@@ -84,6 +84,8 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-off
 
 xen.lds: xen.lds.S
        $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $<
+       sed -e 's/xen\.lds\.o:/xen\.lds:/g' <.xen.lds.d >.xen.lds.d.new
+       mv -f .xen.lds.d.new .xen.lds.d
 
 boot/mkelf32: boot/mkelf32.c
        $(HOSTCC) $(HOSTCFLAGS) -o $@ $<

_______________________________________________
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®.