[oe] Recent OBJDUMP changes
Richard Purdie
rpurdie at rpsys.net
Fri Dec 15 09:09:22 UTC 2006
On Tue, 2006-12-12 at 16:28 +0100, Marcin Juszkiewicz wrote:
> Does someone found better fix then mine?
>
> [hrw at misc1 classes]$ mtn dif package.bbclass
> --- classes/package.bbclass b4538ccc18abcaa057513563f37b2d25fdce5784
> +++ classes/package.bbclass 969285b9af2e3bc59048d34cf396dd529e496c1e
> @@ -576,6 +576,7 @@ python package_do_shlibs() {
> path = os.path.join(root, file)
> if os.access(path, os.X_OK) or lib_re.match(file):
> cmd = bb.data.getVar('OBJDUMP', d, 1) + " -p " + path + " 2>/dev/null"
> + cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', d, 1), cmd)
> fd = os.popen(cmd)
> lines = fd.readlines()
> fd.close()
FWIW, this is the correct fix. Ideally, bitbake should have some helper
functions to set up PATH and run a program but at the moment it doesn't
so we need to do this.
Cheers,
Richard
More information about the Openembedded-devel
mailing list