* [meta-oe][PATCH] cpufrequtils: Create proper symlinks to versioned library
@ 2015-06-05 1:44 Khem Raj
2015-06-08 8:16 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-06-05 1:44 UTC (permalink / raw)
To: openembedded-devel
Currently it produces duplicated .so files for .so.0 and .so.0.0.0
this is also noticed by opkg upgrade
Configuring libxcb-randr0.
/sbin/ldconfig: /usr/lib/libcpufreq.so.0 is not a symbolic link
Additionally helps in some code size savings
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
index e3b4de1..88fcc02 100644
--- a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
+++ b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
@@ -14,7 +14,7 @@ SRC_URI = "git://github.com/emagii/cpufrequtils.git \
file://0001-dont-unset-cflags.patch \
"
-CFLAGS_append_libc-uclibc = " ${@['-DNLS', '-UNLS']['${USE_NLS}' == 'no']} "
+EXTRA_OEMAKE_append = " ${@['', 'NLS=false']['${USE_NLS}' == 'no']} "
PR = "r5"
@@ -30,5 +30,8 @@ do_compile() {
do_install() {
oe_runmake -e install DESTDIR=${D}
+ rm -f ${D}${libdir}/libcpufreq.so.0 ${D}${libdir}/libcpufreq.so
+ ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so.0
+ ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so
}
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] cpufrequtils: Create proper symlinks to versioned library
2015-06-05 1:44 [meta-oe][PATCH] cpufrequtils: Create proper symlinks to versioned library Khem Raj
@ 2015-06-08 8:16 ` Koen Kooi
2015-06-08 16:27 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2015-06-08 8:16 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Khem Raj schreef op 05-06-15 om 03:44:
> Currently it produces duplicated .so files for .so.0 and .so.0.0.0 this
> is also noticed by opkg upgrade
>
> Configuring libxcb-randr0. /sbin/ldconfig: /usr/lib/libcpufreq.so.0 is
> not a symbolic link
>
> Additionally helps in some code size savings
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com> ---
> meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb | 5 ++++- 1 file
> changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
> b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb index
> e3b4de1..88fcc02 100644 ---
> a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb +++
> b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb @@ -14,7 +14,7
> @@ SRC_URI = "git://github.com/emagii/cpufrequtils.git \
> file://0001-dont-unset-cflags.patch \ "
>
> -CFLAGS_append_libc-uclibc = " ${@['-DNLS', '-UNLS']['${USE_NLS}' ==
> 'no']} " +EXTRA_OEMAKE_append = " ${@['', 'NLS=false']['${USE_NLS}' ==
> 'no']} "
That's not mentioned in the commit message
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFVdU9iMkyGM64RGpERAhnwAJ4v/Ds0cnWWGkmkG4XHDS8PTalfZQCfe8FM
M3MbPGfQb3mnso7vaHNpGN4=
=K71s
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] cpufrequtils: Create proper symlinks to versioned library
2015-06-08 8:16 ` Koen Kooi
@ 2015-06-08 16:27 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2015-06-08 16:27 UTC (permalink / raw)
To: openembeded-devel
On Mon, Jun 8, 2015 at 4:16 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> -CFLAGS_append_libc-uclibc = " ${@['-DNLS', '-UNLS']['${USE_NLS}' ==
>> 'no']} " +EXTRA_OEMAKE_append = " ${@['', 'NLS=false']['${USE_NLS}' ==
>> 'no']} "
>
> That's not mentioned in the commit message
ugh, I did forget, it makes it compile on musl as well and utilizes
provided provisions
from makefiles itself instead of injecting the flags. May be an a
commit ammend before applying for Martin :)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-08 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 1:44 [meta-oe][PATCH] cpufrequtils: Create proper symlinks to versioned library Khem Raj
2015-06-08 8:16 ` Koen Kooi
2015-06-08 16:27 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.