[oe] [PATCH] remove duplicated code from linux.inc

Tom Rini trini at embeddedalley.com
Thu Jul 30 05:33:53 UTC 2009


On Thu, Jul 30, 2009 at 02:41:30PM +0930, Graham Gower wrote:
[snip]
> The real issue is that my kernel entry point is not fixed. The entry
> point can be found by searching for the 'kernel_entry' symbol in the
> vmlinux. And unfortunately, I can't search for this at an appropriate
> time to be able to set UBOOT_ENTRYPOINT.
> 
> What I would need is something like the following, post do_compile.
> 
> UBOOT_ENTRYPOINT=`${NM} ${S}/vmlinux | \
> 		awk '$3=="${UBOOT_ENTRYSYMBOL}" {print $1}'
> 
> Where UBOOT_ENTRYSYMBOL="kernel_entry" could be set from the ${MACHINE}.conf.

That should work.

-- 
Tom Rini




More information about the Openembedded-devel mailing list