[oe] [PATCH] debian.bbclass: call objdump from binutils-cross
Chris Larson
clarson at kergoth.com
Tue Jun 8 14:25:02 UTC 2010
On Mon, Jun 7, 2010 at 11:58 PM, Martin Jansa <martin.jansa at gmail.com>wrote:
> * host objdump can support multiple targets and instead of output it shows
> list of targets to choose from
> see
> http://thread.gmane.org/gmane.comp.handhelds.openembedded/33294/focus=33357
> * for some reason cross/bin doesn't seem to be in PATH, that's why there
> is full path
>
cross/bin is in the PATH *bitbake* variable, but not in the *environment*
exported to subprocesses. I'd suggest either setting PATH in cmd, which
we've done in the past, or use the oe_popen/oe_system convenience functions,
which pull all exported bitbake vars into the environment used to spawn the
subprocess.
Ideally, it wouldn't be necessary -- perhaps we should think about having
bitbake's finalize() transfer the vars over into os.environ, or something...
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the Openembedded-devel
mailing list