1
0
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:
Tomas Frydrych
2012-08-31 12:02:18 +01:00
committed by Richard Purdie
parent 823a7f7439
commit 4759a71d3b
+1 -1
View File
@@ -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
#