All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library
@ 2022-04-15 18:49 Fabrice Fontaine
  2022-04-21 19:11 ` Arnout Vandecappelle
  2022-05-24  8:15 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-15 18:49 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Fabrice Fontaine

cpupower needs dynamic library since its addition in commit
f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build
failure:

ld (ld-elf2flt): -shared used without passing a shared library ID

Fixes:
 - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/linux-tools/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in
index f459b41762..791f2c085c 100644
--- a/package/linux-tools/Config.in
+++ b/package/linux-tools/Config.in
@@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS
 
 config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER
 	bool "cpupower"
+	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_LINUX_TOOLS
 	select BR2_PACKAGE_PCIUTILS
 	help
 	  cpupower is a collection of tools to examine and tune power
 	  saving related features of your processor.
 
+comment "cpupower needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_LINUX_TOOLS_GPIO
 	bool "gpio"
 	select BR2_PACKAGE_LINUX_TOOLS
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library
  2022-04-15 18:49 [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library Fabrice Fontaine
@ 2022-04-21 19:11 ` Arnout Vandecappelle
  2022-05-24  8:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 19:11 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Yann E . MORIN



On 15/04/2022 20:49, Fabrice Fontaine wrote:
> cpupower needs dynamic library since its addition in commit
> f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build
> failure:
> 
> ld (ld-elf2flt): -shared used without passing a shared library ID
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/linux-tools/Config.in | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in
> index f459b41762..791f2c085c 100644
> --- a/package/linux-tools/Config.in
> +++ b/package/linux-tools/Config.in
> @@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS
>   
>   config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER
>   	bool "cpupower"
> +	depends on !BR2_STATIC_LIBS
>   	select BR2_PACKAGE_LINUX_TOOLS
>   	select BR2_PACKAGE_PCIUTILS
>   	help
>   	  cpupower is a collection of tools to examine and tune power
>   	  saving related features of your processor.
>   
> +comment "cpupower needs a toolchain w/ dynamic library"
> +	depends on BR2_STATIC_LIBS
> +
>   config BR2_PACKAGE_LINUX_TOOLS_GPIO
>   	bool "gpio"
>   	select BR2_PACKAGE_LINUX_TOOLS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library
  2022-04-15 18:49 [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library Fabrice Fontaine
  2022-04-21 19:11 ` Arnout Vandecappelle
@ 2022-05-24  8:15 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-24  8:15 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Yann E . MORIN, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > cpupower needs dynamic library since its addition in commit
 > f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build
 > failure:

 > ld (ld-elf2flt): -shared used without passing a shared library ID

 > Fixes:
 >  - http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-24  8:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15 18:49 [Buildroot] [PATCH 1/1] package/linux-tools: cpupower needs dynamic library Fabrice Fontaine
2022-04-21 19:11 ` Arnout Vandecappelle
2022-05-24  8:15 ` Peter Korsgaard

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.