php: add missing indirect dependency on !avr32 for mysql extensions
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:12 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:19:53 +0000 (21:19 +0100)
Also fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/Config.ext

index 241e4a95acf8a31e074b665a348b36d894fb3e1d..2b1e6150ab4efa7409bb4dac51e295156d9aa180 100644 (file)
@@ -106,6 +106,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQL
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
        depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+       depends on !BR2_avr32 # mysql
        select BR2_PACKAGE_MYSQL
        help
          MySQL support
@@ -115,6 +116,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQLI
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
        depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+       depends on !BR2_avr32 # mysql
        select BR2_PACKAGE_MYSQL
        select BR2_PACKAGE_PHP_EXT_MYSQL
        help
@@ -132,13 +134,15 @@ config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
        depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+       depends on !BR2_avr32 # mysql
        select BR2_PACKAGE_MYSQL
        help
          PDO driver for MySQL
 
-comment "MySQL drivers need a toolchain w/ C++"
+comment "MySQL drivers need a toolchain w/ C++, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_avr32
 
 config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
        bool "PostgreSQL"