summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2012-08-31 12:02:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:09 -0700
commit4759a71d3b27602a21d8798876b4a35d7df1438f (patch)
tree3d642fd92b8a8e578d1c4c0f8889321fc33263f3 /meta/classes
parent823a7f74397ab4aafcef4c119241f355f895c5ca (diff)
downloadpoky-4759a71d3b27602a21d8798876b4a35d7df1438f.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 46facf726b..78af693551 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -917,7 +917,7 @@ python split_and_strip_files () {
917 for f in files: 917 for f in files:
918 if not f.endswith(".ko"): 918 if not f.endswith(".ko"):
919 continue 919 continue
920 runstrip(os.path.join(root, f), None, d) 920 runstrip(os.path.join(root, f), 0, d)
921 # 921 #
922 # End of strip 922 # End of strip
923 # 923 #