summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-01-27 14:29:10 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:19 +0000
commit2d1b0452bacb3c51adbf4c525daf36e719630b10 (patch)
tree1897c5cb1a7acf9a662493f1ab18badbb3c9de30 /meta/classes/package.bbclass
parent93633edcf84dbf5d97a43cb8d1ebff790a6ab334 (diff)
downloadpoky-2d1b0452bacb3c51adbf4c525daf36e719630b10.tar.gz
bitbake.conf: replace USE_LDCONFIG with new "ldconfig" distro feature
USE_LDCONFIG could previously be set to 0 by distros which do not require ldconfig or ld.so.conf on the target. Since more and more recipes may need to respect that option, replace the ad-hoc variable with a distro feature. Distros which previously set: USE_LDCONFIG = "0" Should now instead use: DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " ldconfig" (From OE-Core rev: a905df2dd8f43a2febffa64a39b6e508510326a0) Signed-off-by: Andre McCurdy <armccurdy@gmail.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.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index ac2d71cfa4..d5c2d82bc8 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1618,10 +1618,7 @@ python package_do_shlibs() {
1618 else: 1618 else:
1619 snap_symlinks = False 1619 snap_symlinks = False
1620 1620
1621 if (d.getVar('USE_LDCONFIG') or "1") == "1": 1621 use_ldconfig = bb.utils.contains('DISTRO_FEATURES', 'ldconfig', True, False, d)
1622 use_ldconfig = True
1623 else:
1624 use_ldconfig = False
1625 1622
1626 needed = {} 1623 needed = {}
1627 shlib_provider = oe.package.read_shlib_providers(d) 1624 shlib_provider = oe.package.read_shlib_providers(d)