package/f*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:53 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 19:17:55 +0000 (21:17 +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 f 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/f2fs-tools/Config.in
package/faifa/Config.in
package/fastd/Config.in
package/fetchmail/Config.in
package/ffmpeg/Config.in
package/filemq/Config.in
package/flashrom/Config.in
package/freescale-imx/gpu-amd-bin-mx51/Config.in
package/freescale-imx/imx-gpu-viv/Config.in

index ab81734de2dd258590eda89bcca4b5377fb21b0e..f0630e99c6d37cde229ae1eafcf16db71adfcf74 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_F2FS_TOOLS
        bool "f2fs-tools"
+       depends on BR2_USE_WCHAR # uses wchar_t
        select BR2_PACKAGE_UTIL_LINUX
        select BR2_PACKAGE_UTIL_LINUX_LIBUUID
-       depends on BR2_USE_WCHAR # uses wchar_t
        help
          Tools for Flash-Friendly File System (F2FS)
 
index de2cc7979e954412582328678606c00ba7547e91..753abc67ec28cc55764abe485474f2578cb73772 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_FAIFA
        bool "faifa"
-       select BR2_PACKAGE_LIBPCAP
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_PACKAGE_LIBPCAP
        help
          Faifa can configure any Intellon-based Power Line
          Communication device using Intellon INT5000 and INT6000
index 546d44947185e1324453c3431329b31b4cfcdb46..47c76b5ad68d2aab279334b01b316093945d18c2 100644 (file)
@@ -16,8 +16,8 @@ if BR2_PACKAGE_FASTD
 config BR2_PACKAGE_FASTD_STATUS_SOCKET
        bool "status socket support"
        default y
-       select BR2_PACKAGE_JSON_C
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
+       select BR2_PACKAGE_JSON_C
        help
          Enable support for a socket to get fastd's status.
 
index 1eb035900341932dee601814af9d815187224a0e..1e829a051227497d1ab8e7137b5c3a00be29c510 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_FETCHMAIL
        bool "fetchmail"
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_CA_CERTIFICATES
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
-       depends on BR2_USE_MMU # fork()
        help
          Fetchmail - the mail-retrieval daemon
          Client daemon to move mail from POP and IMAP to your local computer
index b5850db7222599e824aa37f37b98b9270f3c3a26..383374ddbef5da2cd45209ead30319fb03ff9484 100644 (file)
@@ -40,9 +40,9 @@ config BR2_PACKAGE_FFMPEG_FFMPEG
 
 config BR2_PACKAGE_FFMPEG_FFPLAY
        bool "Build ffplay"
+       depends on !BR2_STATIC_LIBS # sdl2
        select BR2_PACKAGE_FFMPEG_SWSCALE
        select BR2_PACKAGE_SDL2
-       depends on !BR2_STATIC_LIBS # sdl2
        help
          FFplay is a very simple and portable media player using the
          FFmpeg libraries and the SDL library.
index e06a2674696a88f12d96b2ac6adad7a3fedda409..b4720c1d4c20f699c02bedddc7ade665c8fdc57d 100644 (file)
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_FILEMQ
        bool "filemq"
-       select BR2_PACKAGE_OPENSSL
-       select BR2_PACKAGE_CZMQ
-       select BR2_PACKAGE_ZEROMQ
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
        depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
        depends on BR2_USE_MMU # czmq
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_CZMQ
+       select BR2_PACKAGE_ZEROMQ
        help
          FileMQ is a publish-subscribe file service based on 0MQ.
 
index adc068cbfa48710269978df18f0aa376d94eb861..e7844a0a620d2219cb146f10f63259e8a39bf368 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_FLASHROM
        bool "flashrom"
+       depends on BR2_i386 || BR2_x86_64
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
        select BR2_PACKAGE_PCIUTILS
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_LIBUSB_COMPAT
        select BR2_PACKAGE_LIBFTDI
        # dmidecode is only a runtime dependency
        select BR2_PACKAGE_DMIDECODE
-       depends on BR2_i386 || BR2_x86_64
-       depends on BR2_TOOLCHAIN_HAS_THREADS    # libusb
        help
          flashrom is a utility for identifying, reading, writing,
          verifying and erasing flash chips. It is designed to flash
index 337713c720c7b821108ea97a2ca2cdd125aaf563..cd66c737ba3bd51ea9c2ae1bfb3b4e8346ebe682 100644 (file)
@@ -5,12 +5,12 @@ comment "gpu-amd-bin-mx51 needs a glibc EABI toolchain w/ C++"
 
 config BR2_PACKAGE_GPU_AMD_BIN_MX51
        bool "gpu-amd-bin-mx51 (also imx53)"
-       select BR2_PACKAGE_HAS_LIBEGL
-       select BR2_PACKAGE_HAS_LIBGLES
-       select BR2_PACKAGE_HAS_LIBOPENVG
        depends on BR2_ARM_EABI
        depends on BR2_TOOLCHAIN_USES_GLIBC
        depends on BR2_INSTALL_LIBSTDCPP
+       select BR2_PACKAGE_HAS_LIBEGL
+       select BR2_PACKAGE_HAS_LIBGLES
+       select BR2_PACKAGE_HAS_LIBOPENVG
        help
          Freescale libraries, headers and executables for the
          AMD GPU on i.MX5x, containing OpenGL/ES, OpenVG
@@ -26,6 +26,7 @@ choice
          Choose here which version to install.
 
 config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11
+       bool "X11"
        depends on BR2_PACKAGE_XORG7
        select BR2_PACKAGE_LIBXCB
        select BR2_PACKAGE_XLIB_LIBX11
@@ -33,7 +34,6 @@ config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11
        select BR2_PACKAGE_XLIB_LIBXRENDER
        select BR2_PACKAGE_XLIB_LIBXDMCP
        select BR2_PACKAGE_XLIB_LIBXAU
-       bool "X11"
 
 comment "X11 backend needs X.org enabled"
        depends on !BR2_PACKAGE_XORG7
index effb24b3b22dc014bbb46a260e23f8b6d30602a5..dba378c2d23ea8338abcdcf56212759d1ccd1056 100644 (file)
@@ -4,13 +4,13 @@ comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
 
 config BR2_PACKAGE_IMX_GPU_VIV
        bool "imx-gpu-viv"
-       select BR2_PACKAGE_HAS_LIBEGL
-       select BR2_PACKAGE_HAS_LIBGLES
-       select BR2_PACKAGE_HAS_LIBOPENVG
        # Pre-built binaries only available for ARM EABIhf
        depends on BR2_ARM_EABIHF
        # Library binaries are linked against libc.so.6
        depends on BR2_TOOLCHAIN_USES_GLIBC
+       select BR2_PACKAGE_HAS_LIBEGL
+       select BR2_PACKAGE_HAS_LIBGLES
+       select BR2_PACKAGE_HAS_LIBOPENVG
        help
          Userspace libraries for Vivante GPU on i.MX6 platforms