mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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'. (From OE-Core rev: 67f21c6c698464959c27c7e65ee537ab4c378944) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
823a7f7439
commit
4759a71d3b
@@ -917,7 +917,7 @@ python split_and_strip_files () {
|
||||
for f in files:
|
||||
if not f.endswith(".ko"):
|
||||
continue
|
||||
runstrip(os.path.join(root, f), None, d)
|
||||
runstrip(os.path.join(root, f), 0, d)
|
||||
#
|
||||
# End of strip
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user