]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: fix strip and split logic
authorStephano Cetola <stephano.cetola@linux.intel.com>
Thu, 26 May 2016 20:40:37 +0000 (13:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2016 07:04:12 +0000 (08:04 +0100)
commit0df6dabdf0a61ae7b99c6a792f1eec754a7b23bd
tree7c9fdc6f8e15e509bdfa0430d41d7354e365c42a
parent2e498879098f7d84610aed7961d92433083d9a02
package.bbclass: fix strip and split logic

In order for strip and split to work together, we need to populate the
data structors if either split OR strip are not inhibited.

Original behaviour:

INHIBIT_PACKAGE_STRIP: no strip, no debug split
INHIBIT_PACKAGE_DEBUG_SPLIT: strip, no split

Behaviour after this patch:

INHIBIT_PACKAGE_STRIP: no strip, debug split
INHIBIT_PACKAGE_DEBUG_SPLIT: strip, no split
BOTH: no strip, no split, DNP data structures

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass