From patchwork Sun Feb 22 21:25:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 442320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 4734A140129 for ; Mon, 23 Feb 2015 08:25:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 956D5A252B; Sun, 22 Feb 2015 21:25: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 UwEp-jfmMX7n; Sun, 22 Feb 2015 21:25:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id ACAA4A1E6A; Sun, 22 Feb 2015 21:25:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D6F7F1C251E for ; Sun, 22 Feb 2015 21:25:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D2AD694A86 for ; Sun, 22 Feb 2015 21:25:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-ItGEhm1LxB for ; Sun, 22 Feb 2015 21:25:17 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4599794A26 for ; Sun, 22 Feb 2015 21:25:17 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp1-g21.free.fr (Postfix) with ESMTP id 03B2E9400D6; Sun, 22 Feb 2015 22:25:07 +0100 (CET) From: Romain Naour To: buildroot@buildroot.org Date: Sun, 22 Feb 2015 22:25:07 +0100 Message-Id: <1424640307-26144-2-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1424640307-26144-1-git-send-email-romain.naour@openwide.fr> References: <1424640307-26144-1-git-send-email-romain.naour@openwide.fr> Subject: [Buildroot] [PATCH 2/2] package/thrift: remove tests 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: Romain Naour --- package/thrift/thrift.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/thrift/thrift.mk b/package/thrift/thrift.mk index 1215aed..eb1af7e 100644 --- a/package/thrift/thrift.mk +++ b/package/thrift/thrift.mk @@ -55,7 +55,12 @@ define THRIFT_TOOL_NO_HARDCODE $(SED) "s:top_builddir)/compiler/cpp/thrift:THRIFT):" $(@D)/tutorial/Makefile.am endef -THRIFT_POST_PATCH_HOOKS += THRIFT_TOOL_NO_HARDCODE +# Tests in lib/cpp/test are not disabled by --disabe-tests +define THRIFT_REMOVE_CPP_TEST + $(SED) "s:test::" $(@D)/lib/cpp/Makefile.am +endef + +THRIFT_POST_PATCH_HOOKS += THRIFT_TOOL_NO_HARDCODE THRIFT_REMOVE_CPP_TEST define THRIFT_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) THRIFT=$(HOST_DIR)/usr/bin/thrift -C $(@D)