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

[Xen-changelog] Fix cross-compile builds by using NM macro instead of nm



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 34fe1d9f0cedebb80c6477b5413cd549dcc98066
# Parent  9a936ba5cde0f2b33226e23c8c735f1b25924494

Fix cross-compile builds by using NM macro instead of nm
binary directly.

diff -r 9a936ba5cde0 -r 34fe1d9f0ced xen/Makefile
--- a/xen/Makefile      Mon Jul 25 20:32:11 2005
+++ b/xen/Makefile      Mon Jul 25 20:33:41 2005
@@ -141,4 +141,4 @@
        $(all_sources) > cscope.files
        cscope -k -b -q
 MAP:
-       nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] 
\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
+       $(NM) $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] 
\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
diff -r 9a936ba5cde0 -r 34fe1d9f0ced xen/arch/x86/Makefile
--- a/xen/arch/x86/Makefile     Mon Jul 25 20:32:11 2005
+++ b/xen/arch/x86/Makefile     Mon Jul 25 20:33:41 2005
@@ -37,11 +37,11 @@
 $(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(TARGET_SUBARCH)/xen.lds
        $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
            boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
-       nm -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
+       $(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
        $(MAKE) $(BASEDIR)/xen-syms.o
        $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
            boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(BASEDIR)/xen-syms.o -o $@
-       nm -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
+       $(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
        $(MAKE) $(BASEDIR)/xen-syms.o
        $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
            boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(BASEDIR)/xen-syms.o -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®.