package/w*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:18:09 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 May 2017 12:46:49 +0000 (14:46 +0200)
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 w 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>
package/weston/Config.in
package/wireshark/Config.in
package/wmctrl/Config.in
package/wpa_supplicant/Config.in

index b4e198d8f06e82eebc5358e1aeb476d012d70faf..454a14d39ecb89ab6ff53dae5c70c990d457f406 100644 (file)
@@ -5,6 +5,11 @@ comment "weston needs udev and a toolchain w/ locale, threads, dynamic library,
 
 config BR2_PACKAGE_WESTON
        bool "weston"
+       depends on BR2_ENABLE_LOCALE # libinput
+       depends on BR2_PACKAGE_HAS_UDEV
+       depends on !BR2_STATIC_LIBS # wayland
+       depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
        select BR2_PACKAGE_WAYLAND
        select BR2_PACKAGE_WAYLAND_PROTOCOLS
        select BR2_PACKAGE_LIBXKBCOMMON
@@ -14,11 +19,6 @@ config BR2_PACKAGE_WESTON
        select BR2_PACKAGE_JPEG
        select BR2_PACKAGE_MTDEV
        select BR2_PACKAGE_LIBINPUT
-       depends on BR2_ENABLE_LOCALE # libinput
-       depends on BR2_PACKAGE_HAS_UDEV
-       depends on !BR2_STATIC_LIBS # wayland
-       depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
-       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
        # Runtime dependency
        select BR2_PACKAGE_XKEYBOARD_CONFIG
        # Make sure at least one compositor is selected.
index c5b5c3e3ae92adbc8b642d3df87d616fcbfb38d8..4d5a2157f2f4a7244bbc89acc29df9f393085fe8 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_WIRESHARK
        bool "wireshark"
-       select BR2_PACKAGE_LIBPCAP
-       select BR2_PACKAGE_LIBGLIB2
        depends on BR2_USE_MMU # fork(), glib2
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
+       select BR2_PACKAGE_LIBPCAP
+       select BR2_PACKAGE_LIBGLIB2
        help
          Network traffic sniffer and protocol decoder.
 
index bc09431ed4d2057d9469f113f2caba99397a7f36..37a1f252813d7aea2bc422de7fcdd3cc7605ad31 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_WMCTRL
        bool "wmctrl"
-       select BR2_PACKAGE_XLIB_LIBX11
-       select BR2_PACKAGE_XLIB_LIBXMU
-       select BR2_PACKAGE_LIBGLIB2
        depends on BR2_PACKAGE_XORG7
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
+       select BR2_PACKAGE_XLIB_LIBX11
+       select BR2_PACKAGE_XLIB_LIBXMU
+       select BR2_PACKAGE_LIBGLIB2
        help
          Provides command line access to almost all the features
          defined in the EWMH specification. It can be used, for
index 9250a3b20010f75e528cd686ab2be54888ce81c5..0f629169e63282948af99a486c3b04a448860cbe 100644 (file)
@@ -11,8 +11,8 @@ if BR2_PACKAGE_WPA_SUPPLICANT
 config BR2_PACKAGE_WPA_SUPPLICANT_NL80211
        bool "Enable nl80211 support"
        default y
-       select BR2_PACKAGE_LIBNL
        depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+       select BR2_PACKAGE_LIBNL
        help
          Enable support for nl80211.  This is the current wireless
          API for Linux, supported by all wireless drivers in vanilla
@@ -83,8 +83,8 @@ config BR2_PACKAGE_WPA_SUPPLICANT_CLI
          Install wpa_cli command line utility
 
 config BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO
-       depends on !BR2_STATIC_LIBS
        bool "Install wpa_client shared library"
+       depends on !BR2_STATIC_LIBS
        help
          Install libwpa_client.so.