[brcm47xx] refresh patches
[openwrt.git] / target / linux / mpc83xx / patches / 005-powerpc_mkuboot.patch
1 --- a/arch/powerpc/boot/wrapper
2 +++ b/arch/powerpc/boot/wrapper
3 @@ -43,6 +43,9 @@ gzip=.gz
4 # cross-compilation prefix
5 CROSS=
6
7 +# mkimage wrapper script
8 +MKIMAGE=$srctree/scripts/mkuboot.sh
9 +
10 # directory for object and other files used by this script
11 object=arch/powerpc/boot
12 objbin=$object
13 @@ -262,7 +265,7 @@ membase=`${CROSS}objdump -p "$kernel" |
14 case "$platform" in
15 uboot)
16 rm -f "$ofile"
17 - mkimage -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \
18 + ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \
19 $uboot_version -d "$vmz" "$ofile"
20 if [ -z "$cacheit" ]; then
21 rm -f "$vmz"
22 @@ -322,7 +325,7 @@ coff)
23 ;;
24 cuboot*)
25 gzip -f -9 "$ofile"
26 - mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
27 + ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
28 $uboot_version -d "$ofile".gz "$ofile"
29 ;;
30 treeboot*)
This page took 0.053707 seconds and 5 git commands to generate.