mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b8e2bab119
commit
02e6c1e520
@@ -1490,7 +1490,7 @@ python package_do_shlibs() {
|
||||
import re, pipes
|
||||
import subprocess as sub
|
||||
|
||||
exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', 0)
|
||||
exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', False)
|
||||
if exclude_shlibs:
|
||||
bb.note("not generating shlibs")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user