Selaa lähdekoodia

package/n*/Config.in: fix ordering of statements

The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter n in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Adam Duskett 8 vuotta sitten
vanhempi
commit
f998e0d092

+ 1 - 1
package/neon/Config.in

@@ -27,8 +27,8 @@ config BR2_PACKAGE_NEON_XML
 
 
 config BR2_PACKAGE_NEON_EXPAT
 config BR2_PACKAGE_NEON_EXPAT
 	bool "XML support with expat"
 	bool "XML support with expat"
-	select BR2_PACKAGE_EXPAT
 	depends on !BR2_PACKAGE_NEON_LIBXML2
 	depends on !BR2_PACKAGE_NEON_LIBXML2
+	select BR2_PACKAGE_EXPAT
 	help
 	help
 	  Enable XML support in neon, using the Expat XML library.
 	  Enable XML support in neon, using the Expat XML library.
 
 

+ 1 - 1
package/netcat-openbsd/Config.in

@@ -1,10 +1,10 @@
 config BR2_PACKAGE_NETCAT_OPENBSD
 config BR2_PACKAGE_NETCAT_OPENBSD
 	bool "netcat-openbsd"
 	bool "netcat-openbsd"
-	select BR2_PACKAGE_LIBBSD
 	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
 	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_USES_GLIBC
 	depends on BR2_TOOLCHAIN_USES_GLIBC
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+	select BR2_PACKAGE_LIBBSD
 	help
 	help
 	  A simple Unix utility which reads and writes data across network
 	  A simple Unix utility which reads and writes data across network
 	  connections using TCP or UDP protocol. It is designed to be a
 	  connections using TCP or UDP protocol. It is designed to be a

+ 5 - 5
package/netsniff-ng/Config.in

@@ -1,16 +1,16 @@
 config BR2_PACKAGE_NETSNIFF_NG
 config BR2_PACKAGE_NETSNIFF_NG
 	bool "netsniff-ng"
 	bool "netsniff-ng"
+	# Build with uClibc fails due to missing ceill()
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 	select BR2_PACKAGE_LIBNL
 	select BR2_PACKAGE_LIBNL
 	select BR2_PACKAGE_LIBPCAP
 	select BR2_PACKAGE_LIBPCAP
 	select BR2_PACKAGE_LIBCLI
 	select BR2_PACKAGE_LIBCLI
 	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
 	select BR2_PACKAGE_LIBURCU
 	select BR2_PACKAGE_LIBURCU
 	select BR2_PACKAGE_LIBNET
 	select BR2_PACKAGE_LIBNET
-	# Build with uClibc fails due to missing ceill()
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 	help
 	help
 	  netsniff-ng is a free, performant Linux network analyzer and
 	  netsniff-ng is a free, performant Linux network analyzer and
 	  networking toolkit. If you will, the Swiss army knife for
 	  networking toolkit. If you will, the Swiss army knife for

+ 1 - 1
package/nfs-utils/Config.in

@@ -5,9 +5,9 @@ comment "nfs-utils needs a toolchain w/ threads"
 config BR2_PACKAGE_NFS_UTILS
 config BR2_PACKAGE_NFS_UTILS
 	bool "nfs-utils"
 	bool "nfs-utils"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_PACKAGE_RPCBIND # runtime
 	select BR2_PACKAGE_RPCBIND # runtime
-	depends on BR2_USE_MMU # fork()
 	help
 	help
 	  The NFS Linux kernel server.
 	  The NFS Linux kernel server.
 
 

+ 2 - 2
package/nginx/Config.in

@@ -141,8 +141,8 @@ config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE
 
 
 config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
 config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE
 	bool "ngx_http_gzip_module"
 	bool "ngx_http_gzip_module"
-	select BR2_PACKAGE_ZLIB
 	default y
 	default y
+	select BR2_PACKAGE_ZLIB
 	help
 	help
 	  Enable ngx_http_gzip_module
 	  Enable ngx_http_gzip_module
 
 
@@ -202,8 +202,8 @@ config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE
 
 
 config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
 config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE
 	bool "ngx_http_rewrite_module"
 	bool "ngx_http_rewrite_module"
-	select BR2_PACKAGE_PCRE
 	default y
 	default y
+	select BR2_PACKAGE_PCRE
 	help
 	help
 	  Enable ngx_http_rewrite_module
 	  Enable ngx_http_rewrite_module