diff options
author | Tomas Frydrych <tomas@sleepfive.com> | 2012-08-31 12:02:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-02 05:47:38 -0700 |
commit | 67f21c6c698464959c27c7e65ee537ab4c378944 (patch) | |
tree | 3fafa446abe7c1253e61064c6c3c36c0d6346383 /meta/classes/package.bbclass | |
parent | f9659be1eb65b36192af8e59c683be118b0e2f8d (diff) | |
download | openembedded-core-67f21c6c698464959c27c7e65ee537ab4c378944.tar.gz openembedded-core-67f21c6c698464959c27c7e65ee537ab4c378944.tar.bz2 openembedded-core-67f21c6c698464959c27c7e65ee537ab4c378944.zip |
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>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
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 () { 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 # |