summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/mysql/Config.in13
-rw-r--r--openwrt/package/postgresql/Config.in12
2 files changed, 16 insertions, 9 deletions
diff --git a/openwrt/package/mysql/Config.in b/openwrt/package/mysql/Config.in
index 4abf4fcaca..2c601912d8 100644
--- a/openwrt/package/mysql/Config.in
+++ b/openwrt/package/mysql/Config.in
@@ -1,13 +1,16 @@
+config BR2_PACKAGE_MYSQL
+ bool
+ default n
+ depends BR2_PACKAGE_LIBMYSQLCLIENT
+
config BR2_PACKAGE_LIBMYSQLCLIENT
- tristate "libmysqlclient - MySQL client library"
+ prompt "libmysqlclient - MySQL client library"
+ tristate
default m if CONFIG_DEVEL
+ select BR2_PACKAGE_MYSQL
help
MySQL client library.
http://dev.mysql.com/
-config BR2_PACKAGE_MYSQL
- tristate
- default BR2_PACKAGE_LIBMYSQLCLIENT
-
diff --git a/openwrt/package/postgresql/Config.in b/openwrt/package/postgresql/Config.in
index 3692782bea..542f3d44a9 100644
--- a/openwrt/package/postgresql/Config.in
+++ b/openwrt/package/postgresql/Config.in
@@ -1,12 +1,16 @@
+config BR2_PACKAGE_POSTGRESQL
+ bool
+ default n
+ depends BR2_PACKAGE_LIBPQ
+
config BR2_PACKAGE_LIBPQ
- tristate "libpq - PostgreSQL client library"
+ prompt "libpq - PostgreSQL client library"
+ tristate
default m if CONFIG_DEVEL
+ select BR2_PACKAGE_POSTGRESQL
help
PostgreSQL client library.
http://www.postgresql.org/
-config BR2_PACKAGE_POSTGRESQL
- tristate
- default BR2_PACKAGE_LIBPQ