package/poco: add Data/PostgreSQL support

PostgreSQL support was introduced in poco v1.10.0, in commit:
8cec8f6451

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Julien Olivain 2022-03-12 21:16:26 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 386b0d6c5e
commit 0fd31f0739
2 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,12 @@ config BR2_PACKAGE_POCO_DATA_MYSQL
select BR2_PACKAGE_MYSQL
select BR2_PACKAGE_POCO_DATA
config BR2_PACKAGE_POCO_DATA_PGSQL
bool "Data/PostgreSQL"
depends on BR2_USE_MMU # postgresql
select BR2_PACKAGE_POCO_DATA
select BR2_PACKAGE_POSTGRESQL
config BR2_PACKAGE_POCO_DATA_SQLITE
bool "Data/SQLite"
select BR2_PACKAGE_POCO_DATA

View File

@ -15,6 +15,7 @@ POCO_DEPENDENCIES = pcre zlib \
$(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \
$(if $(BR2_PACKAGE_POCO_DATA_MYSQL),mysql) \
$(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \
$(if $(BR2_PACKAGE_POCO_DATA_PGSQL),postgresql) \
$(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \
$(if $(BR2_PACKAGE_POCO_XML),expat)
@ -24,6 +25,7 @@ POCO_OMIT = Data/ODBC PageCompiler \
$(if $(BR2_PACKAGE_POCO_DATA),,Data) \
$(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \
$(if $(BR2_PACKAGE_POCO_DATA_SQLITE),,Data/SQLite) \
$(if $(BR2_PACKAGE_POCO_DATA_PGSQL),,Data/PostgreSQL) \
$(if $(BR2_PACKAGE_POCO_JSON),,JSON) \
$(if $(BR2_PACKAGE_POCO_JWT),,JWT) \
$(if $(BR2_PACKAGE_POCO_MONGODB),,MongoDB) \