diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-09-12 01:32:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:07 +0100 |
commit | 02e6c1e5203190a3f6e1378dfdd1d15332a7ecfe (patch) | |
tree | 453c4ace0a1fcfa7f0b661fd7d377bb189eb2b2d /meta/classes/package.bbclass | |
parent | b8e2bab119be251e3a3395dc55cf25b32504272c (diff) | |
download | poky-02e6c1e5203190a3f6e1378dfdd1d15332a7ecfe.tar.gz |
meta: cleanup d.getVar(var, 0)
(From OE-Core rev: 33b0d940b09a5ce1462476614213a58d3d62e80d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index d0b2db6ae8..a9ca14164b 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1490,7 +1490,7 @@ python package_do_shlibs() { | |||
1490 | import re, pipes | 1490 | import re, pipes |
1491 | import subprocess as sub | 1491 | import subprocess as sub |
1492 | 1492 | ||
1493 | exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', 0) | 1493 | exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', False) |
1494 | if exclude_shlibs: | 1494 | if exclude_shlibs: |
1495 | bb.note("not generating shlibs") | 1495 | bb.note("not generating shlibs") |
1496 | return | 1496 | return |