lantiq: improve falcon package selection
[openwrt.git] / target / linux / mpc83xx / patches-2.6.32 / 002-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 @@ -263,7 +266,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 @@ -323,7 +326,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.043083 seconds and 5 git commands to generate.