Subject: Re: linux-2.6.git: cannot build PS3 image

From: Scott Wood <[email-masked]>
Date: Wed, 17 Oct 2007 10:35:32 -0500

Geert Uytterhoeven wrote:
>> diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
>> index 39b27e5..795f988 100755
>> --- a/arch/powerpc/boot/wrapper
>> +++ b/arch/powerpc/boot/wrapper
>> @@ -232,7 +232,7 @@ base=0x`${CROSS}nm "$ofile" | grep ' _start$' | cut -d' ' -f1`
>>  entry=`${CROSS}objdump -f "$ofile" | grep '^start address ' | cut -d' ' -f3`
>>  
>>  if [ -n "$binary" ]; then
>> -    mv "$ofile" "$ofile".elf
>> +    cp "$ofile" "$ofile".elf
>>      ${CROSS}objcopy -O binary "$ofile".elf "$ofile".bin
>>  fi
> 
> No comments?

That'd work in this case, though it'd probably be better to make the 
$ofile be the end result that will boot on the ps3, and leave a suffix 
on the intermediate files.

I wonder if we may be better off just making zImage a phony target and 
removing the link altogether....

-Scott