* [Buildroot] [PATCH] dahdi-tools: fix dependencies comment condition
@ 2018-08-17 9:05 Baruch Siach
2018-08-17 9:26 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2018-08-17 9:05 UTC (permalink / raw)
To: buildroot
The threads dependency comment is unrelated to the Linux kernel
dependency.
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
package/dahdi-tools/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/dahdi-tools/Config.in b/package/dahdi-tools/Config.in
index 39042df04134..625d17f216e3 100644
--- a/package/dahdi-tools/Config.in
+++ b/package/dahdi-tools/Config.in
@@ -17,7 +17,7 @@ config BR2_PACKAGE_DAHDI_TOOLS
# Two comments, otherwise it may not fit in menuconfig for narrow terminals
comment "dahdi-tools needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
comment "dahdi-tools needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] dahdi-tools: fix dependencies comment condition
2018-08-17 9:05 [Buildroot] [PATCH] dahdi-tools: fix dependencies comment condition Baruch Siach
@ 2018-08-17 9:26 ` Yann E. MORIN
2018-08-17 9:33 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2018-08-17 9:26 UTC (permalink / raw)
To: buildroot
Baruch, All,
On 2018-08-17 12:05 +0300, Baruch Siach spake thusly:
> The threads dependency comment is unrelated to the Linux kernel
> dependency.
But at the same time, if the kernel is not enabled, do we want to
display the comment?
However, this is indeed not like the other cases, where we have a single
comment, like aufs-utils, gst-plugin-x170, on2-8170-libs, sysdig, or,
with a slight difference, xdriver_xf86-video-imx.
So, if we want to make it more similar to the others, and to make it
conform to the manual (17.2.5 Dependencies on a Linux kernel built by
buildroot):
comment "dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
and get rid of the second comment altogether.
Regards,
Yann E. MORIN.
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> package/dahdi-tools/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/dahdi-tools/Config.in b/package/dahdi-tools/Config.in
> index 39042df04134..625d17f216e3 100644
> --- a/package/dahdi-tools/Config.in
> +++ b/package/dahdi-tools/Config.in
> @@ -17,7 +17,7 @@ config BR2_PACKAGE_DAHDI_TOOLS
>
> # Two comments, otherwise it may not fit in menuconfig for narrow terminals
> comment "dahdi-tools needs a toolchain w/ threads"
> - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
> + depends on !BR2_TOOLCHAIN_HAS_THREADS
>
> comment "dahdi-tools needs a Linux kernel to be built"
> depends on !BR2_LINUX_KERNEL
> --
> 2.18.0
>
--
.-----------------.--------------------.------------------.--------------------.
| 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] dahdi-tools: fix dependencies comment condition
2018-08-17 9:26 ` Yann E. MORIN
@ 2018-08-17 9:33 ` Baruch Siach
0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2018-08-17 9:33 UTC (permalink / raw)
To: buildroot
Hi Yann,
Yann E. MORIN writes:
> On 2018-08-17 12:05 +0300, Baruch Siach spake thusly:
>> The threads dependency comment is unrelated to the Linux kernel
>> dependency.
>
> But at the same time, if the kernel is not enabled, do we want to
> display the comment?
Currently the comment is shown even when the toolchain has threads
support.
> However, this is indeed not like the other cases, where we have a single
> comment, like aufs-utils, gst-plugin-x170, on2-8170-libs, sysdig, or,
> with a slight difference, xdriver_xf86-video-imx.
>
> So, if we want to make it more similar to the others, and to make it
> conform to the manual (17.2.5 Dependencies on a Linux kernel built by
> buildroot):
>
> comment "dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built"
> depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
>
> and get rid of the second comment altogether.
OK. I'll send a patch.
baruch
>> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>> ---
>> package/dahdi-tools/Config.in | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/package/dahdi-tools/Config.in b/package/dahdi-tools/Config.in
>> index 39042df04134..625d17f216e3 100644
>> --- a/package/dahdi-tools/Config.in
>> +++ b/package/dahdi-tools/Config.in
>> @@ -17,7 +17,7 @@ config BR2_PACKAGE_DAHDI_TOOLS
>>
>> # Two comments, otherwise it may not fit in menuconfig for narrow terminals
>> comment "dahdi-tools needs a toolchain w/ threads"
>> - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
>> + depends on !BR2_TOOLCHAIN_HAS_THREADS
>>
>> comment "dahdi-tools needs a Linux kernel to be built"
>> depends on !BR2_LINUX_KERNEL
>> --
>> 2.18.0
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-17 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-17 9:05 [Buildroot] [PATCH] dahdi-tools: fix dependencies comment condition Baruch Siach
2018-08-17 9:26 ` Yann E. MORIN
2018-08-17 9:33 ` Baruch Siach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox