mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/mysql: drop virtual package
Now that oracle-mysql is dropped there isn't any need for the mysql virtual package. Adjust the other packages to directly use the mariadb symbols. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -5,7 +5,7 @@ config BR2_PACKAGE_CPPDB
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# Can be built without them but it's useless
|
||||
depends on BR2_PACKAGE_MYSQL || BR2_PACKAGE_POSTGRESQL || BR2_PACKAGE_SQLITE
|
||||
depends on BR2_PACKAGE_MARIADB || BR2_PACKAGE_POSTGRESQL || BR2_PACKAGE_SQLITE
|
||||
help
|
||||
CppDB is an SQL connectivity library that is designed to
|
||||
provide platform and Database independent connectivity API
|
||||
@@ -15,6 +15,6 @@ config BR2_PACKAGE_CPPDB
|
||||
http://cppcms.com/sql/cppdb/
|
||||
|
||||
comment "cppdb needs a toolchain w/ C++, threads, dynamic library"
|
||||
depends on BR2_PACKAGE_MYSQL || BR2_PACKAGE_POSTGRESQL || BR2_PACKAGE_SQLITE
|
||||
depends on BR2_PACKAGE_MARIADB || BR2_PACKAGE_POSTGRESQL || BR2_PACKAGE_SQLITE
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
|
||||
@@ -12,8 +12,8 @@ CPPDB_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite)
|
||||
CPPDB_LICENSE = BSL-1.0 or MIT
|
||||
CPPDB_LICENSE_FILES = LICENSE_1_0.txt MIT.txt
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
||||
CPPDB_DEPENDENCIES += mysql
|
||||
ifeq ($(BR2_PACKAGE_MARIADB),y)
|
||||
CPPDB_DEPENDENCIES += mariadb
|
||||
else
|
||||
CPPDB_CONF_OPTS += -DDISABLE_MYSQL=ON
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user