]> 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)
committerScott Garman <scott.a.garman@intel.com>
Mon, 24 Sep 2012 16:51:09 +0000 (09:51 -0700)
commit12e40ca7317289fec126d9f30b28a717fe72d274
treec8711ccac9de798b6244967a03cdd5846a4d5e9e
parentf60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d
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