package/e*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:52 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 19:16:42 +0000 (21:16 +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 e 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/e2tools/Config.in
package/easydbus/Config.in
package/ecryptfs-utils/Config.in
package/efivar/Config.in
package/elfutils/Config.in
package/execline/Config.in
package/exiv2/Config.in

index 75029f74aae7f213e4c21d6b77afc8ccabe7e98f..e4a35e27f4c786d04d9f4ce753f9e10ff5954936 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_E2TOOLS
        bool "e2tools"
-       select BR2_PACKAGE_E2FSPROGS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR # uses wchar_t
        depends on BR2_USE_MMU # e2fsprogs
+       select BR2_PACKAGE_E2FSPROGS
        help
          E2tools is a simple set of GPL'ed utilities to read, write,
          and manipulate files in an ext2/ext3 filesystem. These
index 51519d61d2b49a0ad98a6d4dafef1c595c103437..1fe8689ccdda0bc6aff062c12747219426d689b9 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_EASYDBUS
        bool "easydbus"
-       select BR2_PACKAGE_LIBGLIB2
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
+       select BR2_PACKAGE_LIBGLIB2
        help
          Easy to use DBus library for Lua.
 
index cb70e000aedb6a80c4fa60b11f4acd9afc05b94a..078ca36286f373c5f2c8898f3805ecaf2d218b52 100644 (file)
@@ -1,12 +1,5 @@
 config BR2_PACKAGE_ECRYPTFS_UTILS
        bool "ecryptfs-utils"
-       select BR2_PACKAGE_KEYUTILS
-       select BR2_PACKAGE_LIBNSS
-       # runtime dependency only, some scripts are using the
-       # 'gettext' program to get translations
-       select BR2_PACKAGE_GETTEXT
-       # runtime dependency only
-       select BR2_PACKAGE_GETENT
        depends on BR2_USE_WCHAR # gettext
        depends on BR2_USE_MMU # keyutils
        depends on !BR2_microblaze # keyutils
@@ -14,6 +7,13 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
        depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
        depends on !BR2_MIPS_NABI32 # libnss
        depends on !BR2_STATIC_LIBS # libnss, keyutils
+       select BR2_PACKAGE_KEYUTILS
+       select BR2_PACKAGE_LIBNSS
+       # runtime dependency only, some scripts are using the
+       # 'gettext' program to get translations
+       select BR2_PACKAGE_GETTEXT
+       # runtime dependency only
+       select BR2_PACKAGE_GETENT
        help
          eCryptfs is a POSIX-compliant enterprise cryptographic
          filesystem for Linux. It is stacked on top of any other
index 0ec836007b85e3be4f32e43a1048627df98b4421..0fa9adf3873db191f62e163508b723426ee209bd 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
        bool
+       default y
        depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 \
                || BR2_powerpc64le || BR2_mipsel || BR2_mips64el
-       default y
 
 config BR2_PACKAGE_EFIVAR
        bool "efivar"
index 7db84724b597f89f0dbffbbd5aa7de20f668a909..32283198e600143203e5147b2e17b0d054fcd3f0 100644 (file)
@@ -5,9 +5,6 @@ comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library"
 
 config BR2_PACKAGE_ELFUTILS
        bool "elfutils"
-       select BR2_PACKAGE_ZLIB
-       select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        depends on BR2_USE_WCHAR
        depends on !BR2_STATIC_LIBS
        # Only glibc and uClibc implement the myriad of required GNUisms
@@ -15,6 +12,9 @@ config BR2_PACKAGE_ELFUTILS
        # build issue caused by the _ prefix used on blackfin for
        # assembly symbols
        depends on !BR2_bfin
+       select BR2_PACKAGE_ZLIB
+       select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        help
          Libraries/utilities to handle ELF objects (drop in
          replacement for libelf).
index 556f9a5c2e4ac654258acd4cd6a4d28fd8846cc4..7a2278fa5ae470d6fa154a7181fd55fe54a7df9a 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_EXECLINE
        bool "execline"
-       select BR2_PACKAGE_SKALIBS
        depends on BR2_USE_MMU # skalibs
+       select BR2_PACKAGE_SKALIBS
        help
          execline is a (non-interactive) scripting language, like sh;
          but its syntax is quite different from a traditional shell
index 8ca95ebcafdd4f898d53f9396da475dfb1484ff2..a94e5cd8f88de7dd9c01d78b7fa6a64fa26bffe7 100644 (file)
@@ -39,8 +39,8 @@ config BR2_PACKAGE_EXIV2_PNG
 
 config BR2_PACKAGE_EXIV2_XMP
        bool "XMP support"
-       select BR2_PACKAGE_EXPAT
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_PACKAGE_EXPAT
        help
          Build with XMP support