]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: fix TypeError in runstrip
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 31 Jul 2012 02:00:01 +0000 (04:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jul 2012 10:52:06 +0000 (11:52 +0100)
commita834ab8a6d53cae504fa112a89bab93d726539ec
treee322dd6b2b5e02e1cb7e8dfc7d6a81389a67c452
parent8c6a9bd7b4fea62b5765caecad660d372379e412
package.bbclass: fix TypeError in runstrip

* some packages have .ko files which are not elf, without this change
  it fails with TypeError, with this change only runstip fails and
  reports where:
  ERROR: runstrip: ''arm-oe-linux-gnueabi-strip'  '/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/emacs-23.4-r0/package/usr/share/emacs/23.4/etc/tutorials/TUTORIAL.ko'' strip command failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass