From patchwork Sun Mar 8 21:37:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Condarelli X-Patchwork-Id: 447825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 5C0F01401AA for ; Mon, 9 Mar 2015 08:52:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E96CA31CDF; Sun, 8 Mar 2015 21:52:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I73UCw18dl0i; Sun, 8 Mar 2015 21:52:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A82E031E8A; Sun, 8 Mar 2015 21:52:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C390E1C2237 for ; Sun, 8 Mar 2015 21:52:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BF4BE31D87 for ; Sun, 8 Mar 2015 21:52:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S8XUstGHKlYZ for ; Sun, 8 Mar 2015 21:52:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relaygw4-23.mclink.it (relaygw4-23.mclink.it [195.78.211.249]) by silver.osuosl.org (Postfix) with ESMTP id 3F00931CE8 for ; Sun, 8 Mar 2015 21:52:17 +0000 (UTC) Received: from [195.110.128.82] (HELO smtpoutgw3.mclink.it) by relaygw4-23.mclink.it (CommuniGate Pro SMTP 6.0.6) with ESMTP id 46554833 for buildroot@buildroot.org; Sun, 08 Mar 2015 22:37:13 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B9EQAjwPxU/7T8/l9ag1gSA0WIEqcMAQEBAQEBBQF2jASFdoV4AgyBXgEBAQEBAXyEEAEFeRA/ElcZiDMBwmsBK4YKh26CDQcWGoN9BZNzhW+TdCODbz0xgkMBAQE Received: from host180-252-static.254-95-b.business.telecomitalia.it (HELO ariag25.fritz.box) ([95.254.252.180]) by smtpoutgw3.mclink.it with ESMTP; 08 Mar 2015 22:37:13 +0100 From: Mauro Condarelli To: buildroot@buildroot.org Date: Sun, 8 Mar 2015 22:37:09 +0100 Message-Id: <1425850629-14725-3-git-send-email-mc5686@mclink.it> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1425850629-14725-1-git-send-email-mc5686@mclink.it> References: <1425850629-14725-1-git-send-email-mc5686@mclink.it> Subject: [Buildroot] [PATCH 3/3] Added support for PHP/SQLite3 (non PDO). X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Mauro Condarelli Acked-by: Gustavo Zacarias --- package/php/Config.ext | 6 ++++++ package/php/php.mk | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/package/php/Config.ext b/package/php/Config.ext index daf16c7..57685b2 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -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 diff --git a/package/php/php.mk b/package/php/php.mk index dd52508..b5daeb6 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -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)