]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: fix stripping for kernel modules
authorTomas Frydrych <tomas@sleepfive.com>
Fri, 31 Aug 2012 11:02:18 +0000 (12:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Sep 2012 12:47:38 +0000 (05:47 -0700)
commit67f21c6c698464959c27c7e65ee537ab4c378944
tree3fafa446abe7c1253e61064c6c3c36c0d6346383
parentf9659be1eb65b36192af8e59c683be118b0e2f8d
package.bbclass: fix stripping for kernel modules

runstrip(path, elftype, d) does bitwise & on the elftype parameter, so it has
to be passed an integer. Passing None fails with: TypeError: unsupported
operand type(s) for &: 'NoneType' and 'int'.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package.bbclass