* [Buildroot] [PATCH 1/1] package/linux-tools: thermal needs threads
@ 2022-06-05 16:52 Fabrice Fontaine
2022-06-05 19:41 ` Yann E. MORIN
2022-06-09 7:21 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-06-05 16:52 UTC (permalink / raw)
To: buildroot; +Cc: Yann E . MORIN, Fabrice Fontaine
tmon needs threads since its addition in kernel 3.13 and
https://github.com/torvalds/linux/commit/94f69966faf8e70bd655ea25f9dd5b9400567b75:
tmon.c:23:10: fatal error: pthread.h: No such file or directory
23 | #include <pthread.h>
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/d7b3d15ebf80ca6dbbbd4554af541182c777e4de
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 131380cb02..732ac65a25 100644
--- a/package/linux-tools/Config.in
+++ b/package/linux-tools/Config.in
@@ -122,12 +122,16 @@ comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dyna
config BR2_PACKAGE_LINUX_TOOLS_TMON
bool "tmon"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LINUX_TOOLS
select BR2_PACKAGE_NCURSES
help
tmon is a terminal-based tool (using curses) that allows the
user to access thermal information about the system.
+comment "tmon needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
+
config BR2_PACKAGE_LINUX_TOOLS_HV
bool "hv"
depends on BR2_i386 || BR2_x86_64
--
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: thermal needs threads
2022-06-05 16:52 [Buildroot] [PATCH 1/1] package/linux-tools: thermal needs threads Fabrice Fontaine
@ 2022-06-05 19:41 ` Yann E. MORIN
2022-06-09 7:21 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-06-05 19:41 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
Fabrice, All,
On 2022-06-05 18:52 +0200, Fabrice Fontaine spake thusly:
> tmon needs threads since its addition in kernel 3.13 and
> https://github.com/torvalds/linux/commit/94f69966faf8e70bd655ea25f9dd5b9400567b75:
>
> tmon.c:23:10: fatal error: pthread.h: No such file or directory
> 23 | #include <pthread.h>
> | ^~~~~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/d7b3d15ebf80ca6dbbbd4554af541182c777e4de
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> 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 131380cb02..732ac65a25 100644
> --- a/package/linux-tools/Config.in
> +++ b/package/linux-tools/Config.in
> @@ -122,12 +122,16 @@ comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dyna
>
> config BR2_PACKAGE_LINUX_TOOLS_TMON
> bool "tmon"
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> select BR2_PACKAGE_LINUX_TOOLS
> select BR2_PACKAGE_NCURSES
> help
> tmon is a terminal-based tool (using curses) that allows the
> user to access thermal information about the system.
>
> +comment "tmon needs a toolchain w/ threads"
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
> +
> config BR2_PACKAGE_LINUX_TOOLS_HV
> bool "hv"
> depends on BR2_i386 || BR2_x86_64
> --
> 2.35.1
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
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: thermal needs threads
2022-06-05 16:52 [Buildroot] [PATCH 1/1] package/linux-tools: thermal needs threads Fabrice Fontaine
2022-06-05 19:41 ` Yann E. MORIN
@ 2022-06-09 7:21 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-06-09 7:21 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Yann E . MORIN, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> tmon needs threads since its addition in kernel 3.13 and
> https://github.com/torvalds/linux/commit/94f69966faf8e70bd655ea25f9dd5b9400567b75:
> tmon.c:23:10: fatal error: pthread.h: No such file or directory
> 23 | #include <pthread.h>
> | ^~~~~~~~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/d7b3d15ebf80ca6dbbbd4554af541182c777e4de
> 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-06-09 7:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 16:52 [Buildroot] [PATCH 1/1] package/linux-tools: thermal needs threads Fabrice Fontaine
2022-06-05 19:41 ` Yann E. MORIN
2022-06-09 7:21 ` 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.