* [Buildroot] [PATCH] libcofi: disable for static-only builds
@ 2016-08-07 8:20 Thomas Petazzoni
2016-08-07 20:08 ` Yann E. MORIN
2016-08-07 21:00 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-08-07 8:20 UTC (permalink / raw)
To: buildroot
The libcofi package unconditionally builds a shared library, so we need
to make it unavailable on BR2_STATIC_LIBS=y configurations.
Fixes:
http://autobuild.buildroot.net/results/329c09bf123cd5b6dbcfff6251ba7a2c7cce50b8/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/libcofi/Config.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in
index e9914d6..df9ab71 100644
--- a/package/libcofi/Config.in
+++ b/package/libcofi/Config.in
@@ -1,8 +1,14 @@
config BR2_PACKAGE_LIBCOFI
bool "libcofi"
depends on BR2_arm
+ # builds a shared library
+ depends on !BR2_STATIC_LIBS
help
A replacement for memcpy and memset functionality for the
Raspberry Pi with the intention of gaining greater performance.
https://github.com/simonjhall/copies-and-fills
+
+comment "libcofi needs a toolchain w/ dynamic library"
+ depends on BR2_arm
+ depends on BR2_STATIC_LIBS
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libcofi: disable for static-only builds
2016-08-07 8:20 [Buildroot] [PATCH] libcofi: disable for static-only builds Thomas Petazzoni
@ 2016-08-07 20:08 ` Yann E. MORIN
2016-08-07 21:00 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2016-08-07 20:08 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2016-08-07 10:20 +0200, Thomas Petazzoni spake thusly:
> The libcofi package unconditionally builds a shared library, so we need
> to make it unavailable on BR2_STATIC_LIBS=y configurations.
Given that the expected use of libcofi is via LD_PRELOAD, this makes
sense.
(Technically, nothing would prevent linking with it at build time,
though.)
> Fixes:
>
> http://autobuild.buildroot.net/results/329c09bf123cd5b6dbcfff6251ba7a2c7cce50b8/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/libcofi/Config.in | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in
> index e9914d6..df9ab71 100644
> --- a/package/libcofi/Config.in
> +++ b/package/libcofi/Config.in
> @@ -1,8 +1,14 @@
> config BR2_PACKAGE_LIBCOFI
> bool "libcofi"
> depends on BR2_arm
> + # builds a shared library
> + depends on !BR2_STATIC_LIBS
> help
> A replacement for memcpy and memset functionality for the
> Raspberry Pi with the intention of gaining greater performance.
>
> https://github.com/simonjhall/copies-and-fills
> +
> +comment "libcofi needs a toolchain w/ dynamic library"
> + depends on BR2_arm
> + depends on BR2_STATIC_LIBS
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libcofi: disable for static-only builds
2016-08-07 8:20 [Buildroot] [PATCH] libcofi: disable for static-only builds Thomas Petazzoni
2016-08-07 20:08 ` Yann E. MORIN
@ 2016-08-07 21:00 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-08-07 21:00 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 7 Aug 2016 10:20:03 +0200, Thomas Petazzoni wrote:
> The libcofi package unconditionally builds a shared library, so we need
> to make it unavailable on BR2_STATIC_LIBS=y configurations.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/329c09bf123cd5b6dbcfff6251ba7a2c7cce50b8/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/libcofi/Config.in | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-07 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-07 8:20 [Buildroot] [PATCH] libcofi: disable for static-only builds Thomas Petazzoni
2016-08-07 20:08 ` Yann E. MORIN
2016-08-07 21:00 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox