diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-01-21 10:47:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:56:35 +0000 |
commit | 8ea3cc2c45d4e34bb68bd3e0bc359204c772133c (patch) | |
tree | 49b065b92110120df26d7b29b27850d56e2a95d3 /meta/classes/package.bbclass | |
parent | 210a426584b77ad2331332059af85bb9f4e2081f (diff) | |
download | openembedded-core-8ea3cc2c45d4e34bb68bd3e0bc359204c772133c.tar.gz openembedded-core-8ea3cc2c45d4e34bb68bd3e0bc359204c772133c.tar.bz2 openembedded-core-8ea3cc2c45d4e34bb68bd3e0bc359204c772133c.zip |
package.bbclass: fix strip and split logic
Marks original commit message and variable documentation state that stripping and splitting are independent of eachother, but package.bbclass ANDs the two INHIBIT flags to see which files can be stripped and/or split.
Original behaviour:
INHIBIT_PACKAGE_STRIP: no strip, no debug split
INHIBIT_PACAKGE_DEBUG_SPLIT: no strip, no debug split
Behaviour after this patch:
INHIBIT_PACKAGE_STRIP: no strip, no debug split
INHIBIT_PACKAGE_DEBUG_SPLIT: strip, no split
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 1f73ad6960..b54df60d8f 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -792,8 +792,7 @@ python split_and_strip_files () { kernmods = [] libdir = os.path.abspath(dvar + os.sep + d.getVar("libdir", True)) baselibdir = os.path.abspath(dvar + os.sep + d.getVar("base_libdir", True)) - if (d.getVar('INHIBIT_PACKAGE_DEBUG_SPLIT', True) != '1') and \ - (d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): + if (d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): for root, dirs, files in cpath.walk(dvar): for f in files: file = os.path.join(root, f) |