ramips: switch to 2.6.32
[openwrt.git] / target / linux / xburst / files-2.6.32 / arch / mips / boot / tools / entry
1 #!/bin/sh
2
3 # grab the kernel_entry address from the vmlinux elf image
4 entry=`$1 $2 | grep kernel_entry`
5
6 fs=`echo $entry | grep ffffffff` # check toolchain output
7
8 if [ -n "$fs" ]; then
9 echo "0x"`$1 $2 | grep kernel_entry | cut -c9- | awk '{print $1}'`
10 else
11 echo "0x"`$1 $2 | grep kernel_entry | cut -c1- | awk '{print $1}'`
12 fi
This page took 0.04677 seconds and 5 git commands to generate.