]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/a*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:48 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 15:17:02 +0000 (17: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 a 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>
12 files changed:
package/agentpp/Config.in
package/aircrack-ng/Config.in
package/alsa-lib/Config.in
package/alsa-utils/Config.in
package/alsamixergui/Config.in
package/android-tools/Config.in
package/apache/Config.in
package/apr-util/Config.in
package/atk/Config.in
package/atkmm/Config.in
package/avrdude/Config.in
package/axel/Config.in

index 4b70a1a738f0519f240c6f456dc49a19b1563df4..e591fb5f3cc41bf7f0a5baa5c983bc9be8d01914 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_AGENTPP
        bool "agent++"
-       select BR2_PACKAGE_SNMPPP
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS # snmp++
        depends on !BR2_STATIC_LIBS # snmp++
+       select BR2_PACKAGE_SNMPPP
        help
          AGENT++ is a set of C++ classes which provides a complete protocol
          engine and dispatch table for the development of SNMP agents.
index 00ce4e48b7b6c207a01c96f7b80ee49b6663a027..b6572dc986c7ea6a1148a06774b6ee831addd35f 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_AIRCRACK_NG
        bool "aircrack-ng"
        depends on BR2_USE_MMU # uses fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        # libnl has issues when linking statically
        # they need fixing in libnl itself
        select BR2_PACKAGE_LIBNL if !BR2_STATIC_LIBS
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
-       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          A set of tools for auditing wireless networks
 
index 97e848978c799b95fe31f9b3f527aa1cdaf6fea6..c355b2c023b3c624d1d138815ef92d3617ec4ecb 100644 (file)
@@ -3,15 +3,15 @@ comment "alsa-lib needs a toolchain w/ threads"
 
 menuconfig BR2_PACKAGE_ALSA_LIB
        bool "alsa-lib"
-       # Temporary until
-       # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913
-       # is fixed
-       select BR2_PACKAGE_ALSA_LIB_PCM
        # Even though some parts of alsa-lib use threads only when
        # available, some PCM plugins use them unconditionally. Since
        # the usage of alsa-lib on no-thread systems is pretty
        # unlikely, just require thread support globally for alsa-lib.
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       # Temporary until
+       # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913
+       # is fixed
+       select BR2_PACKAGE_ALSA_LIB_PCM
        help
          The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
          functionality to the Linux operating system.
@@ -68,8 +68,8 @@ config BR2_PACKAGE_ALSA_LIB_SEQ
 
 config BR2_PACKAGE_ALSA_LIB_ALISP
        bool "alisp"
-       depends on BR2_USE_MMU
        default y
+       depends on BR2_USE_MMU
 
 config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS
        bool "old-symbols"
index adc0aabd8e4c3f55d6e9d35ec3f896569722cb7d..1d42f2e1ea02913e1f726be8e9b0fdd248b52b65 100644 (file)
@@ -33,10 +33,10 @@ config BR2_PACKAGE_ALSA_UTILS_ALSALOOP
 
 config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
        bool "alsamixer"
+       default y
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_ALSA_LIB_MIXER
-       depends on BR2_USE_WCHAR
-       default y
 
 comment "alsamixer needs a toolchain w/ wchar"
        depends on !BR2_USE_WCHAR
index 5b61f3861d96eccaaffe267295f507751881a93c..2016a28ad1031bd256f1c774ae897487a3efd200 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_ALSAMIXERGUI
+       bool "alsamixergui"
        depends on BR2_PACKAGE_XORG7
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # fltk fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
        select BR2_PACKAGE_FLTK
        select BR2_PACKAGE_ALSA_LIB
        select BR2_PACKAGE_ALSA_LIB_PCM
        select BR2_PACKAGE_ALSA_LIB_MIXER
-       depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
-       bool "alsamixergui"
        help
          A nice GUI mixer for Alsa using fltk
 
index 19772ad4d7913d9205ae0ecb6d0800cb0dd66e41..96e36e6cd7328f098b1ef5bf0bb2d165e98a76f5 100644 (file)
@@ -34,13 +34,13 @@ config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS
 
 config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT
        bool "fastboot"
-       select BR2_PACKAGE_LIBSELINUX
-       select BR2_PACKAGE_ZLIB
        depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux
        depends on !BR2_STATIC_LIBS # libselinux
        depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
        depends on !BR2_arc # libselinux
        depends on BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS
+       select BR2_PACKAGE_LIBSELINUX
+       select BR2_PACKAGE_ZLIB
        help
          This option will build and install the fastboot utility for
          the target, which can be used to reflash other target devices
index 511876d2eb87acb5452c97efa93e693742f5852b..5916d307a8f04d3fa11b55b36f6f5050b1eeef95 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_APACHE
        bool "apache"
-       select BR2_PACKAGE_APR_UTIL
-       select BR2_PACKAGE_PCRE
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # apr
+       select BR2_PACKAGE_APR_UTIL
+       select BR2_PACKAGE_PCRE
        help
          The Apache HTTP Server Project is an effort to develop and maintain an
          open-source HTTP server for modern operating systems including UNIX
index 1d7db2bd771df45327569e34062c8fde28d7466e..6c5e3bbdf590ae90c73c52ee0d0af30ff200a524 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_APR_UTIL
        bool "apr-util"
-       select BR2_PACKAGE_APR
-       select BR2_PACKAGE_EXPAT
        # apr really needs shared library support
        depends on !BR2_STATIC_LIBS
        depends on BR2_USE_MMU # apr
+       select BR2_PACKAGE_APR
+       select BR2_PACKAGE_EXPAT
        help
          The utility library for the apache runtime project
 
index 1120a94dd0ac5e6206c19110389147203019fe76..c9806149980cd4829418d5a5cd0fb292c64ab50f 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_ATK
        bool "atk"
-       select BR2_PACKAGE_LIBGLIB2
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
+       select BR2_PACKAGE_LIBGLIB2
        help
          The ATK accessibility toolkit, needed to build GTK+-2.x.
 
index 2091eabeb4981cf7ee3d5e49e4bfefa822754d89..edc83835fda8a403b1164e3ae24b9c44b965f731 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_ATKMM
        bool "atkmm"
-       select BR2_PACKAGE_ATK
-       select BR2_PACKAGE_GLIBMM
-       select BR2_PACKAGE_LIBSIGC
        depends on BR2_INSTALL_LIBSTDCPP # glibmm
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
        depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2
        depends on BR2_USE_MMU # atk/glibmm -> libglib2
        depends on BR2_USE_WCHAR # atk/glibmm -> libglib2
+       select BR2_PACKAGE_ATK
+       select BR2_PACKAGE_GLIBMM
+       select BR2_PACKAGE_LIBSIGC
 
        help
          The atkmm package is a set of C++ bindings for Atk.
index 8aca8412829a818f21979b7011ac804aa1d5e937..3757f17a1e2b5ff3198dcbb98331313fd54cde64 100644 (file)
@@ -1,14 +1,14 @@
 config BR2_PACKAGE_AVRDUDE
        bool "avrdude"
-       select BR2_PACKAGE_ELFUTILS
-       select BR2_PACKAGE_LIBUSB
-       select BR2_PACKAGE_LIBUSB_COMPAT
-       select BR2_PACKAGE_NCURSES
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR # elfutils
        depends on !BR2_STATIC_LIBS # elfutils
        depends on !BR2_bfin # elfutils
        depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
+       select BR2_PACKAGE_ELFUTILS
+       select BR2_PACKAGE_LIBUSB
+       select BR2_PACKAGE_LIBUSB_COMPAT
+       select BR2_PACKAGE_NCURSES
        help
          avrdude is a programmer for Atmel AVR microcontrollers
          this package provides a version with new linuxspi driver
index aa93f2a11fc9f66adef4005af73f9d061b86b767..aea85bf11bc44348b08d31948d22142f1e4a1661 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_AXEL
        bool "axel"
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        help
          HTTP/FTP download accelerator.