use target nm when cross compiling
PATCH 1/1 use target nm when cross compiling
Use the target nm(1) when cross compiling to pick the _end address from the Xen binary.
Signed-off-by Muli Ben-Yehuda <[email protected]>
xen/arch/x86/Makefile +1 -1
@@ -44,7 +44,7 @@ default: $(TARGET) $(TARGET): $(TARGET)-syms boot/mkelf32 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \ - `nm $(TARGET)-syms | sort | tail -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'` + `$(NM) $(TARGET)-syms | sort | tail -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'` $(CURDIR)/arch.o: $(OBJS) $(LD) $(LDFLAGS) -r -o $@ $(OBJS)
Signature · 2 lines
Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/