ia64/xen-unstable

changeset 5847:34fe1d9f0ced

Fix cross-compile builds by using NM macro instead of nm
binary directly.
author kaf24@firebug.cl.cam.ac.uk
date Mon Jul 25 20:33:41 2005 +0000 (2005-07-25)
parents 9a936ba5cde0
children 50fd1e053b1a
files xen/Makefile xen/arch/x86/Makefile
line diff
     1.1 --- a/xen/Makefile	Mon Jul 25 20:32:11 2005 +0000
     1.2 +++ b/xen/Makefile	Mon Jul 25 20:33:41 2005 +0000
     1.3 @@ -141,4 +141,4 @@ cscope:
     1.4  	$(all_sources) > cscope.files
     1.5  	cscope -k -b -q
     1.6  MAP:
     1.7 -	nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
     1.8 +	$(NM) $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
     2.1 --- a/xen/arch/x86/Makefile	Mon Jul 25 20:32:11 2005 +0000
     2.2 +++ b/xen/arch/x86/Makefile	Mon Jul 25 20:33:41 2005 +0000
     2.3 @@ -37,11 +37,11 @@ default: $(TARGET)
     2.4  $(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(TARGET_SUBARCH)/xen.lds
     2.5  	$(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
     2.6  	    boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
     2.7 -	nm -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
     2.8 +	$(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
     2.9  	$(MAKE) $(BASEDIR)/xen-syms.o
    2.10  	$(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
    2.11  	    boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(BASEDIR)/xen-syms.o -o $@
    2.12 -	nm -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
    2.13 +	$(NM) -n $@ | $(BASEDIR)/tools/symbols >$(BASEDIR)/xen-syms.S
    2.14  	$(MAKE) $(BASEDIR)/xen-syms.o
    2.15  	$(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
    2.16  	    boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(BASEDIR)/xen-syms.o -o $@