source: trunk/target/linux/mpc83xx/patches-2.6.32/002-powerpc_mkuboot.patch @ 19587

Last change on this file since 19587 was 19587, checked in by juhosg, 6 years ago

mpc83xx: add 2.6.32 support

File size: 926 bytes
  • arch/powerpc/boot/wrapper

    a b gzip=.gz 
    4343# cross-compilation prefix 
    4444CROSS= 
    4545 
     46# mkimage wrapper script 
     47MKIMAGE=$srctree/scripts/mkuboot.sh 
     48 
    4649# directory for object and other files used by this script 
    4750object=arch/powerpc/boot 
    4851objbin=$object 
    membase=`${CROSS}objdump -p "$kernel" |  
    263266case "$platform" in 
    264267uboot) 
    265268    rm -f "$ofile" 
    266     mkimage -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \ 
     269    ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a $membase -e $membase \ 
    267270        $uboot_version -d "$vmz" "$ofile" 
    268271    if [ -z "$cacheit" ]; then 
    269272        rm -f "$vmz" 
    coff) 
    323326    ;; 
    324327cuboot*) 
    325328    gzip -f -9 "$ofile" 
    326     mkimage -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \ 
     329    ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \ 
    327330            $uboot_version -d "$ofile".gz "$ofile" 
    328331    ;; 
    329332treeboot*) 
Note: See TracBrowser for help on using the repository browser.