tcl: enable postgresql support

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2016-03-30 17:14:10 +01:00 committed by Thomas Petazzoni
parent 6fdc1401f1
commit bd2b84e241

View File

@ -36,7 +36,7 @@ define TCL_REMOVE_PACKAGES
rm -fr $(@D)/pkgs/sqlite3* \
$(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \
$(@D)/pkgs/tdbcodbc* \
$(@D)/pkgs/tdbcpostgres* \
$(if $(BR2_PACKAGE_POSTGRESQL),,$(@D)/pkgs/tdbcpostgres*) \
$(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*)
endef
TCL_PRE_CONFIGURE_HOOKS += TCL_REMOVE_PACKAGES
@ -73,7 +73,8 @@ endef
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA
TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \
$(if $(BR2_PACKAGE_MYSQL),mysql)
$(if $(BR2_PACKAGE_MYSQL),mysql) \
$(if $(BR2_PACKAGE_POSTGRESQL),postgresql)
HOST_TCL_DEPENDENCIES =
$(eval $(autotools-package))