package/mmc-utils: requires kernel headers >= 3.0
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 1 Mar 2014 14:53:08 +0000 (15:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Mar 2014 18:48:34 +0000 (19:48 +0100)
mmc-utils needs the mmc ioctls, introduced in linux 3.0.

Fixes:
    http://autobuild.buildroot.net/results/0c1/0c15e2b193418c6f0edbc98a6ea3957bdf71a98b

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mmc-utils/Config.in

index 07650c8a151d7bff933288325088161bbfe330bb..d321800a4cade68a456151cafcc99f0a6275d24b 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_MMC_UTILS
        bool "mmc-utils"
        depends on BR2_LARGEFILE
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
        help
          MMC utils
 
          https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git
 
-comment "mmc-utils needs a toolchain w/ largefile"
-       depends on !BR2_LARGEFILE
+comment "mmc-utils needs a toolchain w/ largefile, headers >= 3.0"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0