]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/k*/Config.in: fix ordering of statements
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:57 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 1 May 2017 09:39:51 +0000 (11:39 +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 k 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/kbd/Config.in
package/knock/Config.in
package/kodi/Config.in
package/kvm-unit-tests/Config.in

index 44c31633888f8ac1946592e8b49b8582ccd4f6f4..ab1f1b310001c46121408488cd503d9367780b1d 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_KBD
        bool "kbd"
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        # Uses fork()
        depends on BR2_USE_MMU
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        help
          Keytable files and keyboard utilities.
 
index 8778a7e3fd02ca021ac3a46e7d715c46b78c34e0..0060ad07ce651643baebb82a9ac12541cd83578c 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_KNOCK
        bool "knock"
-       select BR2_PACKAGE_LIBPCAP
        depends on BR2_USE_MMU # fork()
+       select BR2_PACKAGE_LIBPCAP
        help
          A port knocking implementation.
          Provides a daemon and a user application. Port knocking can be
index e8285edfa13bfd7fc36fa68fec4ed458b61d4bbf..e7156c786e3d5a9ba1eca0a360f97b0e6650bc9e 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
        bool
-       depends on BR2_USE_MMU # libcdio, and others
        default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
                && BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS \
                && BR2_TOOLCHAIN_HAS_SYNC_8
+       depends on BR2_USE_MMU # libcdio, and others
 
 comment "kodi needs python w/ .py modules, a uClibc or glibc toolchain w/ C++, locale, threads, wchar, dynamic library, gcc >= 4.8, host gcc >= 4.6"
        depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS
index 72656462e16cf45e66512bd8b7c92bbb963d97e1..7eab0c25d6c064b01959967e2dd493c80f481581 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_KVM_UNIT_TESTS
        bool "kvm-unit-tests"
-       select BR2_HOSTARCH_NEEDS_IA32_COMPILER if BR2_x86_64=y
        # on i386 and x86-64, __builtin_reachable is used, so we need
        # gcc 4.5 at least. on i386, we use the target gcc, while on
        # x86-64 we use the host gcc (see .mk file for details)
@@ -11,6 +10,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS
                BR2_powerpc64 || \
                BR2_powerpc64le || \
                (BR2_x86_64 && BR2_HOST_GCC_AT_LEAST_4_5)
+       select BR2_HOSTARCH_NEEDS_IA32_COMPILER if BR2_x86_64=y
        help
          kvm-unit-tests is a project as old as KVM. As its name
          suggests, it's purpose is to provide unit tests for KVM. The