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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250753394 -3600
# Node ID 3fc731e42b63f14ef0be1a972113dd19834f0d99
# Parent  a06f149d515723e0e9fbbc464323ff9616326355
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-unstable changeset:   20089:a3ae60f8b546
xen-unstable date:        Wed Aug 19 17:00:26 2009 +0100
---
 xen/arch/x86/Makefile |    2 ++
 1 files changed, 2 insertions(+)

diff -r a06f149d5157 -r 3fc731e42b63 xen/arch/x86/Makefile
--- a/xen/arch/x86/Makefile     Wed Aug 19 16:38:28 2009 +0100
+++ b/xen/arch/x86/Makefile     Thu Aug 20 08:29:54 2009 +0100
@@ -84,6 +84,8 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-off
 
 xen.lds: $(TARGET_SUBARCH)/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®.