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

[XenPPC] [PATCH] Improve presentation of objcopy output



This makes it easier to grep log files, and just looks a lot better in
the console output of a make.

Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>

---

 Makefile |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff -r a41b8cd01ad2 xen/arch/powerpc/Makefile
--- a/xen/arch/powerpc/Makefile Fri Oct 06 12:15:06 2006 -0500
+++ b/xen/arch/powerpc/Makefile Fri Oct 06 17:45:51 2006 -0400
@@ -119,11 +119,9 @@ xen-syms.o: xen-syms.S
        $(CC) $(CFLAGS) $(TARGET_OPTS) xen-syms.o -o $@
 
 # our firmware only loads 32-bit ELF files
+OCPYFLAGS= --input-target=elf64-powerpc --output-target=elf32-powerpc
 $(TARGET): $(TARGET)-syms
-       $(CROSS_COMPILE)objcopy \
-               --input-target=elf64-powerpc \
-               --output-target=elf32-powerpc \
-               $^ $@
+       $(CROSS_COMPILE)objcopy $(OCPYFLAGS) $^ $@
 
 asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(HDRS)
        $(CC) $(CFLAGS) -S -o $@ $<

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.