You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
926 B
30 lines
926 B
--- 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
|
|
@@ -262,7 +265,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"
|
|
@@ -322,7 +325,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*)
|
|
|