[Buildroot] [git commit] package/mosquitto: fix comments

Peter Korsgaard peter at korsgaard.com
Fri Feb 8 14:05:44 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=ea989ad2b2c2361c47e269dd89cb559edf561db4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at korsgaard.com>
---
 package/mosquitto/Config.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/mosquitto/Config.in b/package/mosquitto/Config.in
index 9052b3059b..11b6d7891b 100644
--- a/package/mosquitto/Config.in
+++ b/package/mosquitto/Config.in
@@ -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


More information about the buildroot mailing list