package/mosquitto: fix comments
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 8 Feb 2019 14:04:11 +0000 (15:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 8 Feb 2019 14:05:44 +0000 (15:05 +0100)
The toplevel mosquitto comment should go after the sub options to ensure
they get indented, and the broker comment should be hidden if mosquitto
isn't enabled.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mosquitto/Config.in

index 9052b3059b5cbef21d838d41986519296d623b52..11b6d7891b35314a69fd112bcc562aea7604cfb4 100644 (file)
@@ -12,9 +12,6 @@ config BR2_PACKAGE_MOSQUITTO
 
          http://mosquitto.org/
 
-comment "mosquitto needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
-
 config BR2_PACKAGE_MOSQUITTO_BROKER
        bool "install the mosquitto broker"
        default y
@@ -24,4 +21,7 @@ config BR2_PACKAGE_MOSQUITTO_BROKER
          Build and install the mosquitto broker onto target.
 
 comment "mosquitto broker needs a system with MMU"
-       depends on !BR2_USE_MMU
+       depends on BR2_PACKAGE_MOSQUTTO && !BR2_USE_MMU
+
+comment "mosquitto needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS