diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-02-11 13:31:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-02-11 13:31:52 +0000 |
commit | dce714ad077a89d005939c1c6a12b4c523ce71e9 (patch) | |
tree | 15d11ea93a5c6281807c1ea08b037957b1c34ade /target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch | |
parent | ac412601002d9e536720695d12eb6c485643d4c9 (diff) | |
download | upstream-dce714ad077a89d005939c1c6a12b4c523ce71e9.tar.gz upstream-dce714ad077a89d005939c1c6a12b4c523ce71e9.tar.bz2 upstream-dce714ad077a89d005939c1c6a12b4c523ce71e9.zip |
mpc83xx: add 2.6.32 support
SVN-Revision: 19587
Diffstat (limited to 'target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch')
-rw-r--r-- | target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch b/target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch new file mode 100644 index 0000000000..b13a9969e2 --- /dev/null +++ b/target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch @@ -0,0 +1,30 @@ +--- a/arch/powerpc/boot/wrapper ++++ b/arch/powerpc/boot/wrapper +@@ -43,6 +43,9 @@ gzip=.gz + # cross-compilation prefix + CROSS= + ++# mkimage wrapper script ++MKIMAGE=$srctree/scripts/mkuboot.sh ++ + # directory for object and other files used by this script + object=arch/powerpc/boot + objbin=$object +@@ -263,7 +266,7 @@ membase=`${CROSS}objdump -p "$kernel" | + case "$platform" in + uboot) + rm -f "$ofile" +- mkimage -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \ ++ ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \ + $uboot_version -d "$vmz" "$ofile" + if [ -z "$cacheit" ]; then + rm -f "$vmz" +@@ -323,7 +326,7 @@ coff) + ;; + cuboot*) + gzip -f -9 "$ofile" +- mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \ ++ ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \ + $uboot_version -d "$ofile".gz "$ofile" + ;; + treeboot*) |