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

[Xen-changelog] Fix Xen target image dependencies.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0d9855e12426ff764a7b58fba70438b6ef986388
# Parent  a27f22868d68fbea055dfdd496d8c1dbc6be999c
Fix Xen target image dependencies.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r a27f22868d68 -r 0d9855e12426 xen/Makefile
--- a/xen/Makefile      Mon Mar 20 17:20:44 2006
+++ b/xen/Makefile      Mon Mar 20 17:25:01 2006
@@ -55,12 +55,14 @@
        [ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm
        $(MAKE) -C arch/$(TARGET_ARCH) asm-offsets.s
        $(MAKE) include/asm-$(TARGET_ARCH)/asm-offsets.h
+ifneq ($(TARGET_ARCH),x86)
        $(MAKE) -C common
        $(MAKE) -C drivers
 ifeq ($(ACM_SECURITY),y)
        $(MAKE) -C acm
 endif
        $(MAKE) -C arch/$(TARGET_ARCH)
+endif
        $(MAKE) -C arch/$(TARGET_ARCH) $(TARGET)
 
 # drivers/char/console.o contains static banner/compile info. Blow it away.
diff -r a27f22868d68 -r 0d9855e12426 xen/arch/x86/Makefile
--- a/xen/arch/x86/Makefile     Mon Mar 20 17:20:44 2006
+++ b/xen/arch/x86/Makefile     Mon Mar 20 17:25:01 2006
@@ -55,7 +55,7 @@
        ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \
        `$(NM) $(TARGET)-syms | sort | tail -n 1 | sed -e 's/^\([^ 
]*\).*/0x\1/'`
 
-$(TARGET)-syms: boot/$(TARGET_SUBARCH).o xen.lds
+$(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) xen.lds
        $(LD) $(LDFLAGS) -T xen.lds -N \
            boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
        $(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S

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