Added support for PHP/SQLite3 (non PDO).

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mauro Condarelli 2015-03-08 22:37:09 +01:00 committed by Thomas Petazzoni
parent 1eaf45fc6c
commit d92f9c6832
2 changed files with 10 additions and 0 deletions

View File

@ -120,6 +120,12 @@ config BR2_PACKAGE_PHP_EXT_MYSQLI
help
MySQL Improved extension support
config BR2_PACKAGE_PHP_EXT_SQLITE
bool "SQLite3"
select BR2_PACKAGE_SQLITE
help
SQLite3 support
config BR2_PACKAGE_PHP_EXT_PDO
bool "PDO"
help

View File

@ -154,6 +154,10 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y)
PHP_CONF_OPTS += --with-mysqli=$(STAGING_DIR)/usr/bin/mysql_config
PHP_DEPENDENCIES += mysql
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
PHP_DEPENDENCIES += sqlite
endif
### PDO
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y)