From patchwork Tue Dec 9 11:51:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 419031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id D9112140082 for ; Tue, 9 Dec 2014 22:51:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7A01A95B16; Tue, 9 Dec 2014 11:51:52 +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 bj7YNw6x+aYc; Tue, 9 Dec 2014 11:51:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C9A5295C01; Tue, 9 Dec 2014 11:51:49 +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 36FA81C28D0 for ; Tue, 9 Dec 2014 11:51:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 33FD795A69 for ; Tue, 9 Dec 2014 11:51:46 +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 kMMnhqk68GUd for ; Tue, 9 Dec 2014 11:51:45 +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 hemlock.osuosl.org (Postfix) with ESMTP id 7D91195AF8 for ; Tue, 9 Dec 2014 11:51:45 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 456B16768A35F for ; Tue, 9 Dec 2014 11:51:42 +0000 (GMT) Received: from KLMAIL02.kl.imgtec.org (10.40.60.222) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 9 Dec 2014 11:51:44 +0000 Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by klmail02.kl.imgtec.org (10.40.60.222) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 9 Dec 2014 11:51:44 +0000 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 9 Dec 2014 11:51:43 +0000 From: Vicente Olivert Riera To: Date: Tue, 9 Dec 2014 11:51:21 +0000 Message-ID: <1418125881-7915-4-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1418125881-7915-1-git-send-email-Vincent.Riera@imgtec.com> References: <1418125881-7915-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH 3/3] slang: use specific build and install commands for static builds 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" Doing this we ensure that only the static library and a static version of slsh are built. Fixes: http://autobuild.buildroot.net/results/f12/f124ca3737baf5aca32029226805133d3544715c/ Signed-off-by: Vicente Olivert Riera Reviewed-by: Markos Chandras --- package/slang/slang.mk | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/package/slang/slang.mk b/package/slang/slang.mk index 15b65b3..4dc9ad7 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -48,4 +48,10 @@ ifeq ($(BR2_PACKAGE_READLINE),y) SLANG_DEPENDENCIES += readline endif +ifeq ($(BR2_PREFER_STATIC_LIB),y) + SLANG_MAKE_OPTS = static + SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static + SLANG_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static +endif + $(eval $(autotools-package))