]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/sunxi-mali: reorder select/depends
authorRomain Naour <romain.naour@gmail.com>
Sat, 18 Feb 2017 14:52:57 +0000 (15:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Feb 2017 21:47:47 +0000 (22:47 +0100)
>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in example in the manual suggests to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] https://buildroot.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sunxi-mali/Config.in

index 5e3ae4cd0199c2808ffa42d1c9c3b047ab0e8cde..c6754c2821f22663f956b064220984fe28065661 100644 (file)
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_SUNXI_MALI
        bool "sunxi-mali"
+       depends on BR2_arm
+       depends on BR2_TOOLCHAIN_USES_GLIBC
        select BR2_PACKAGE_HAS_LIBEGL
        select BR2_PACKAGE_HAS_LIBGLES
        select BR2_PACKAGE_LIBUMP
-       depends on BR2_TOOLCHAIN_USES_GLIBC
-       depends on BR2_arm
        help
          Install the ARM Mali drivers for sunxi based systems (i.e
          systems based on ARM Allwinner SoCs). This driver requires