wrapper (a6afacb6b8ba3d2eed6406a018e604d6f9c0f97d) wrapper (f6dfc80554b27da11dbb36ebae166b23ec3aa9ca)
1#!/bin/sh
2
3# Copyright (C) 2006 Paul Mackerras, IBM Corporation <paulus@samba.org>
4# This program may be used under the terms of version 2 of the GNU
5# General Public License.
6
7# This script takes a kernel binary and optionally an initrd image
8# and/or a device-tree blob, and creates a bootable zImage for a

--- 217 unchanged lines hidden (view full) ---

226 ;;
227cuboot*)
228 mv "$ofile" "$ofile".elf
229 ${CROSS}objcopy -O binary "$ofile".elf "$ofile".bin
230 gzip -f -9 "$ofile".bin
231 mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
232 $uboot_version -d "$ofile".bin.gz "$ofile"
233 ;;
1#!/bin/sh
2
3# Copyright (C) 2006 Paul Mackerras, IBM Corporation <paulus@samba.org>
4# This program may be used under the terms of version 2 of the GNU
5# General Public License.
6
7# This script takes a kernel binary and optionally an initrd image
8# and/or a device-tree blob, and creates a bootable zImage for a

--- 217 unchanged lines hidden (view full) ---

226 ;;
227cuboot*)
228 mv "$ofile" "$ofile".elf
229 ${CROSS}objcopy -O binary "$ofile".elf "$ofile".bin
230 gzip -f -9 "$ofile".bin
231 mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
232 $uboot_version -d "$ofile".bin.gz "$ofile"
233 ;;
234treeboot*)
235 mv "$ofile" "$ofile.elf"
236 $object/mktree "$ofile.elf" "$ofile" "$base" "$entry"
237 if [ -z "$cacheit" ]; then
238 rm -f "$ofile.elf"
239 fi
240 exit 0
241 ;;
234esac
242esac