浏览代码

package/mosquitto: fix comments

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>
Peter Korsgaard 6 年之前
父节点
当前提交
ea989ad2b2
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      package/mosquitto/Config.in

+ 4 - 4
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