From: "Scott Parish" Subject: [PATCH] cross compile break: s#nm #$(NM) # Date: Mon, 25 Jul 2005 17:16:19 +0000 Message-ID: <20050725171619.GD4224@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Kj7319i9nmIyA2yE" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached patch should appease cross compilers. sRp -- Scott Parish Signed-off-by: srparish@us.ibm.com --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="make-nm-cross.diff" --- old-xen-64-dma/xen/Makefile 2005-07-25 14:29:15.000000000 +0000 +++ new-xen-64-dma/xen/Makefile 2005-07-25 17:10:48.000000000 +0000 @@ -141,4 +141,4 @@ cscope: $(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 --- old-xen-64-dma/xen/arch/x86/Makefile 2005-07-25 14:29:15.000000000 +0000 +++ new-xen-64-dma/xen/arch/x86/Makefile 2005-07-25 17:12:27.000000000 +0000 @@ -37,11 +37,11 @@ $(CURDIR)/arch.o: $(OBJS) $(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 $@ --Kj7319i9nmIyA2yE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Kj7319i9nmIyA2yE--