Răsfoiți Sursa

dropbear: factorize the 'depends on BR2_PACKAGE_DROPBEAR'

Enclose all dropbear sub-options into a 'if BR2_PACKAGE_DROPBEAR'
... 'endif' block rather than having 'depends on BR2_PACKAGE_DROPBEAR'
for each option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni 12 ani în urmă
părinte
comite
a5ee03b252
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      package/dropbear/Config.in

+ 4 - 4
package/dropbear/Config.in

@@ -6,9 +6,10 @@ config BR2_PACKAGE_DROPBEAR
 
 
 	  http://matt.ucc.asn.au/dropbear/dropbear.html
 	  http://matt.ucc.asn.au/dropbear/dropbear.html
 
 
+if BR2_PACKAGE_DROPBEAR
+
 config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
 config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
 	bool "disable reverse DNS lookups"
 	bool "disable reverse DNS lookups"
-	depends on BR2_PACKAGE_DROPBEAR
 	help
 	help
 	  Disable reverse DNS lookups on connection. This can be handy
 	  Disable reverse DNS lookups on connection. This can be handy
 	  on systems without working DNS, as connections otherwise
 	  on systems without working DNS, as connections otherwise
@@ -17,7 +18,6 @@ config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
 config BR2_PACKAGE_DROPBEAR_SMALL
 config BR2_PACKAGE_DROPBEAR_SMALL
 	bool "optimize for size"
 	bool "optimize for size"
 	default y
 	default y
-	depends on BR2_PACKAGE_DROPBEAR
 	help
 	help
 	  Compile dropbear for the smallest possible binary size.
 	  Compile dropbear for the smallest possible binary size.
 
 
@@ -26,14 +26,14 @@ config BR2_PACKAGE_DROPBEAR_SMALL
 
 
 config BR2_PACKAGE_DROPBEAR_WTMP
 config BR2_PACKAGE_DROPBEAR_WTMP
 	bool "log dropbear access to wtmp"
 	bool "log dropbear access to wtmp"
-	depends on BR2_PACKAGE_DROPBEAR
 	help
 	help
 	  Enable logging of dropbear access to wtmp. Notice that
 	  Enable logging of dropbear access to wtmp. Notice that
 	  Buildroot does not generate wtmp by default.
 	  Buildroot does not generate wtmp by default.
 
 
 config BR2_PACKAGE_DROPBEAR_LASTLOG
 config BR2_PACKAGE_DROPBEAR_LASTLOG
 	bool "log dropbear access to lastlog"
 	bool "log dropbear access to lastlog"
-	depends on BR2_PACKAGE_DROPBEAR
 	help
 	help
 	  Enable logging of dropbear access to lastlog. Notice that
 	  Enable logging of dropbear access to lastlog. Notice that
 	  Buildroot does not generate lastlog by default.
 	  Buildroot does not generate lastlog by default.
+
+endif