Skip to content

package.bbclass: improve auto debug package splitting order

Hongxu Jia openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2package.bbclass: improve auto debug package splitting ordermeta/classes/package.bbclass+9 -10 replies
2/2selftest/package: improve case to test debug package splittingmeta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb meta/lib/oeqa/selftest/cases/package.py+23 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] package.bbclass: improve auto debug package splitting order

Hi RP,

Is it necessary to split multiple sub dbg packages or only one dbg is allowed? If the former, this fix makes sense.

I know in oe-core, almost one dbg package per recipe, but in oe, 21 recipes have extra sub dbg package and 18 of them did not set NOAUTOPACKAGEDEBUG = "1".

So rather than modify them one by one tediously, how about to improve auto debug package splitting order? If ${PN}-dbg exists, split the unsplit debug file to ${PN}-dbg, if ${PN}-dbg does not exist, still split them to first dbg package.

//Hongxu

The following changes since commit d180dc758710c7259d45eeb9304e7284a8fd8825:

oeqa/selftest/recipetool: fix non-determinism in cmake test (2018-09-13 16:28:26 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib hongxu/dbg-split
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/dbg-split

Hongxu Jia (2):
package.bbclass: improve auto debug package splitting order selftest/package: improve case to test debug package splitting

 .../selftest-hardlink/selftest-hardlink.bb         |  4 +++-
 meta/classes/package.bbclass                       | 10 +++++++-
 meta/lib/oeqa/selftest/cases/package.py            | 27 ++++++++++++++++------
 3 files changed, 32 insertions(+), 9 deletions(-)
Signature · 1 line
2.7.4