From patchwork Wed Mar 30 16:14:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 603463 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3qZt591R8Sz9s5J for ; Thu, 31 Mar 2016 03:14:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6FCFD33942; Wed, 30 Mar 2016 16:14:36 +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 axucX-zSzFrd; Wed, 30 Mar 2016 16:14:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 13BDB33945; Wed, 30 Mar 2016 16:14:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B574A1C1536 for ; Wed, 30 Mar 2016 16:14:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B0CD289692 for ; Wed, 30 Mar 2016 16:14:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iR1eWgI2mta4 for ; Wed, 30 Mar 2016 16:14:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2534E8AFBA for ; Wed, 30 Mar 2016 16:14:21 +0000 (UTC) Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id BF4364CF1A882; Wed, 30 Mar 2016 17:14:16 +0100 (IST) Received: from vriera-linux.le.imgtec.org (192.168.154.36) by hhmail02.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 30 Mar 2016 17:14:19 +0100 From: Vicente Olivert Riera To: Date: Wed, 30 Mar 2016 17:14:09 +0100 Message-ID: <1459354450-37009-3-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1459354450-37009-1-git-send-email-Vincent.Riera@imgtec.com> References: <1459354450-37009-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.36] Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH 3/4] tcl: enable mysql support 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Vicente Olivert Riera --- package/tcl/tcl.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index 7c2cb47..0ce6b9f 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -35,7 +35,7 @@ HOST_TCL_PRE_CONFIGURE_HOOKS += HOST_TCL_REMOVE_PACKAGES # We remove the bundled sqlite as we prefer to not use bundled stuff at all. define TCL_REMOVE_PACKAGES rm -fr $(@D)/pkgs/sqlite3* \ - $(@D)/pkgs/tdbcmysql* \ + $(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \ $(@D)/pkgs/tdbcodbc* \ $(@D)/pkgs/tdbcpostgres* \ $(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*) @@ -73,7 +73,8 @@ define TCL_REMOVE_EXTRA endef TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA -TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) +TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \ + $(if $(BR2_PACKAGE_MYSQL),mysql) HOST_TCL_DEPENDENCIES = $(eval $(autotools-package))