direct-io.hg

changeset 12946:4eefe4d31afa

[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@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Thu Oct 12 18:22:26 2006 -0500 (2006-10-12)
parents 0ff8b14fb530
children 877361bfe3ae
files xen/arch/powerpc/Makefile
line diff
     1.1 --- a/xen/arch/powerpc/Makefile	Thu Oct 12 17:09:19 2006 -0400
     1.2 +++ b/xen/arch/powerpc/Makefile	Thu Oct 12 18:22:26 2006 -0500
     1.3 @@ -120,11 +120,9 @@ xen-syms.o: xen-syms.S
     1.4  	$(CC) $(CFLAGS) $(TARGET_OPTS) xen-syms.o -o $@
     1.5  
     1.6  # our firmware only loads 32-bit ELF files
     1.7 +OCPYFLAGS := --input-target=elf64-powerpc --output-target=elf32-powerpc
     1.8  $(TARGET): $(TARGET)-syms
     1.9 -	$(CROSS_COMPILE)objcopy \
    1.10 -		--input-target=elf64-powerpc \
    1.11 -		--output-target=elf32-powerpc \
    1.12 -		$^ $@
    1.13 +	$(CROSS_COMPILE)objcopy $(OCPYFLAGS) $^ $@
    1.14  
    1.15  asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(HDRS)
    1.16  	$(CC) $(CFLAGS) -S -o $@ $<