linux-2.6.git: cannot build PS3 image
Scott Wood
scottwood at freescale.com
Thu Oct 18 01:35:32 EST 2007
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
More information about the Linuxppc-dev
mailing list