[OE-core] runstrip() in package.bbclass fails when run against a kernel module

Tomas Frydrych tf+lists.yocto at r-finger.com
Fri Aug 31 11:53:31 UTC 2012


runstrip() in package.bbclass fails when run against a kernel module,
because it tries to do a bitwise & with a 'None' argument. This throws:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'.

(This bug triggers, for example, when building ti-linuxutils from
meta-ti (v2012.05-yocto1.2 tag) against Denzil.)

Patch attached.

Tomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-package.bbclass-fix-stripping-for-kernel-modules.patch
Type: text/x-patch
Size: 984 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120831/bfcd3240/attachment-0002.bin>


More information about the Openembedded-core mailing list