[POWERPC] Fix zImage.coff generation for 32-bit pmac

Commit 9da82a6dee inadvertently
removed the platform override for zImage.coff to be generated
with pmaccoff.   Rather than add a special makefile rule,
change the platform for which the wrapper platform uses
the special rules.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Milton Miller 2007-05-31 01:29:01 +10:00 committed by Paul Mackerras
parent f48419666e
commit 627aa944a1

View File

@ -129,7 +129,7 @@ case "$platform" in
pmac|pseries|chrp) pmac|pseries|chrp)
platformo=$object/of.o platformo=$object/of.o
;; ;;
pmaccoff) coff)
platformo=$object/of.o platformo=$object/of.o
lds=$object/zImage.coff.lds lds=$object/zImage.coff.lds
;; ;;
@ -220,7 +220,7 @@ case "$platform" in
pseries|chrp) pseries|chrp)
$object/addnote "$ofile" $object/addnote "$ofile"
;; ;;
pmaccoff) coff)
${CROSS}objcopy -O aixcoff-rs6000 --set-start "$entry" "$ofile" ${CROSS}objcopy -O aixcoff-rs6000 --set-start "$entry" "$ofile"
$object/hack-coff "$ofile" $object/hack-coff "$ofile"
;; ;;