openntpd: fix Config.in comment dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Feb 2017 18:22:08 +0000 (19:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Feb 2017 18:22:08 +0000 (19:22 +0100)
BR2_PACKAGE_OPENNTPD has a "depends on !BR2_PACKAGE_NTP" because the
openntpd package conflicts with the ntp package.

So the Config.in comment of openntpd should also not be visible when ntp
is selected. Otherwise the comment will show up when the user has a
non-NPTL toolchain, and once he enables NPTL support, the comment
disappears, but the package option doesn't appear.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openntpd/Config.in

index 1433b0979a6347be25765672908af0935be15f96..1b856c03b8f932c8c0b7b4ebbca63142744f2419 100644 (file)
@@ -13,4 +13,5 @@ config BR2_PACKAGE_OPENNTPD
 
 comment "openntpd needs a toolchain w/ NPTL"
        depends on BR2_USE_MMU
+       depends on !BR2_PACKAGE_NTP
        depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL