diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2012-08-07 20:14:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:40 +0100 |
commit | 533b8b913e881ec9153077355cd7b39129b21302 (patch) | |
tree | c544e8a37a9b04f69104b5c21962b8feadcc7c05 | |
parent | 69e836604feb010c969b20f5bda34aeafddfc1da (diff) | |
download | poky-533b8b913e881ec9153077355cd7b39129b21302.tar.gz |
sysfsutils: install libs to base_libdir
Fix the warning form pcmciautils building:
"WARNING: QA Issue: pcmciautils: /sbin/pccardctl, installed in the
base_prefix, requires a shared library under exec_prefix (/usr):
libsysfs.so.2 => /usr/lib/libsysfs.so.2"
Just refer to Debian/Ubuntu distributions, install sysfsutils libs
to "/lib*" instead of "/usr/lib*".
[YOCTO #2907]
(From OE-Core rev: f3c93627d4f603f9e4c4491d89eb988aa6241662)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb index 3e4fdda280..f01d19bd4b 100644 --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb | |||
@@ -8,7 +8,7 @@ LICENSE_libsysfs = "LGPLv2.1" | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ |
9 | file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ | 9 | file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ |
10 | file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e" | 10 | file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e" |
11 | PR = "r3" | 11 | PR = "r4" |
12 | 12 | ||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ | 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \ |
14 | file://sysfsutils-2.0.0-class-dup.patch \ | 14 | file://sysfsutils-2.0.0-class-dup.patch \ |
@@ -24,3 +24,5 @@ PACKAGES =+ "libsysfs libsysfs-dev libsysfs-staticdev" | |||
24 | FILES_libsysfs = "${libdir}/lib*${SOLIBS}" | 24 | FILES_libsysfs = "${libdir}/lib*${SOLIBS}" |
25 | FILES_libsysfs-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}" | 25 | FILES_libsysfs-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}" |
26 | FILES_libsysfs-staticdev = "${libdir}/lib*.a" | 26 | FILES_libsysfs-staticdev = "${libdir}/lib*.a" |
27 | |||
28 | export libdir = "${base_libdir}" | ||