package.bbclass: do not split debug pkg when no debugsources.list
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 14 Mar 2012 07:16:03 +0000 (15:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Mar 2012 13:17:44 +0000 (13:17 +0000)
commit59e332902a43b2c7ea91bcaad4dabb8873080ea9
tree2f9971cfa0dcc3c8a4567b6cd883edf240a12a76
parent9e851f66a6a8a36cc78892e465285282eb469608
package.bbclass: do not split debug pkg when no debugsources.list

We don't have to split the debug pkg if it is null (No debugsources.list
since the find-debuginfo.sh would not generate it for the null pkg).

Serval pkg's debug pkg is null, and there were a few errors: (53 pkgs
had such errors in a core-image-sato build):

log.do_package:sort: open failed: debugsources.list: No such file or directory

[YOCTO #2076]

(From OE-Core rev: f88e3f420b4e95ab5ba4a075df8ed65b817f8b45)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass