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

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Improve presentation of objcopy output.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 4eefe4d31afa3fca0e8beadd7387f3e2d237f2b0
# Parent  0ff8b14fb530468936fe69f28a1f2af177d3f899
[POWERPC][XEN] 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>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/Makefile |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -r 0ff8b14fb530 -r 4eefe4d31afa xen/arch/powerpc/Makefile
--- a/xen/arch/powerpc/Makefile Thu Oct 12 17:09:19 2006 -0400
+++ b/xen/arch/powerpc/Makefile Thu Oct 12 18:22:26 2006 -0500
@@ -120,11 +120,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-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®.