[Buildroot] Odd comment in openntpd/Config.in

Grant Edwards grant.b.edwards at gmail.com
Mon Feb 6 18:19:16 UTC 2017


On 2017-02-06, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi Grant,
>
> On Mon, Feb 06, 2017 at 05:10:56PM +0000, Grant Edwards wrote:
>> In https://git.busybox.net/buildroot/tree/package/openntpd/Config.in:
>> 
>> config BR2_PACKAGE_OPENNTPD
>>        bool "openntpd"
>>        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
>>        [...]
>> 
>> comment "openntpd needs a toolchain w/ NPTL"
>>         [...]
>>         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
>> 
>> Is the "!" in the comment is a typo?
>
> We want to show the comment only when the toolchain has no NPTL support. So 
> the "!" makes perfect sense to me.

Ah.  That's because you didn't misread it and think that the "depends
on" line was part of the comment itself and not the option that
controls when the comment is displayed.

-- 
Grant Edwards               grant.b.edwards        Yow! Psychoanalysis??
                                  at               I thought this was a nude
                              gmail.com            rap session!!!



More information about the buildroot mailing list