qt, php: selecting mysql requires depending on MMU
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Apr 2013 10:29:31 +0000 (10:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 20:56:13 +0000 (22:56 +0200)
The mysql_client package is only available on architectures having a
MMU, so all packages that are selecting mysql_client should depend on
BR2_USE_MMU.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/php/Config.ext
package/qt/Config.sql.in

index 2cf71d3625329e1e4077d24ea4d4ccf13d8b8f89..006d7dd34a6d2d02d3bde339ebf203868e76f3f1 100644 (file)
@@ -105,6 +105,7 @@ config BR2_PACKAGE_PHP_EXT_SQLITE_UTF8
 config BR2_PACKAGE_PHP_EXT_MYSQL
        bool "Mysql"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_MMU # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        help
          MySQL support
@@ -112,6 +113,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQL
 config BR2_PACKAGE_PHP_EXT_MYSQLI
        bool "Mysqli"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_MMU # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        select BR2_PACKAGE_PHP_EXT_MYSQL
        help
@@ -127,6 +129,7 @@ if BR2_PACKAGE_PHP_EXT_PDO
 config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
        bool "MySQL"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_MMU # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        help
          PDO driver for MySQL
index eceb15d643b4c7b12e0e8f7887a34a5432152c82..04489c75bf7e16bc656831bc4b393fe2dc2ce776 100644 (file)
@@ -9,6 +9,7 @@ config BR2_PACKAGE_QT_MYSQL
        select BR2_PACKAGE_MYSQL_CLIENT
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_READLINE
+       depends on BR2_USE_MMU # mysql
        help
          Build MySQL driver
          If unsure, say n.