Re: [XenPPC] [PATCH] Improve presentation of objcopy output

2006-10-13 Thread Hollis Blanchard
I'm not sure where the commit email went, but this was checked in
yesterday. Thanks!

-- 
Hollis Blanchard
IBM Linux Technology Center

On Fri, 2006-10-06 at 17:49 -0400, Amos Waterland wrote:
> 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 <[EMAIL PROTECTED]>
> 
> ---
> 
>  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@lists.xensource.com
> http://lists.xensource.com/xen-ppc-devel


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


Re: [XenPPC] [PATCH] Improve presentation of objcopy output

2006-10-06 Thread Jimi Xenidis


On Oct 6, 2006, at 5:49 PM, Amos Waterland wrote:


+OCPYFLAGS


cute
-JX

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


[XenPPC] [PATCH] Improve presentation of objcopy output

2006-10-06 Thread Amos Waterland
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 <[EMAIL PROTECTED]>

---

 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@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel