From patchwork Mon Jun 24 08:40:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 253738 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 CDAC82C0426 for ; Mon, 24 Jun 2013 18:42:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 06FB6A01BC; Mon, 24 Jun 2013 08:42:36 +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 BIVPzjDn83Fm; Mon, 24 Jun 2013 08:42:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 131B2A01F5; Mon, 24 Jun 2013 08:41:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C805B8F7AC for ; Mon, 24 Jun 2013 08:41:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9C9498B28F for ; Mon, 24 Jun 2013 08:41:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zhIzd4DZSaP6 for ; Mon, 24 Jun 2013 08:41:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 17DE78ABBB for ; Mon, 24 Jun 2013 08:41:26 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id m46so7953562wev.2 for ; Mon, 24 Jun 2013 01:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=8dllkhfirRYb+asfGo36VFi3g4naUtywgmqBq34WSq8=; b=ThlKSwLnOqsq4iBSD8WfC/cWIQpX063a8zXkRAwsGpKqdfU96yjYDSeY/0Kw3ekeF5 Q73QM6IKlvZalwr4IWZmIGH4a27wr2UkJi9hlYX6BAjegvLlPm3qfcpqvHSg0gK2ojJf 0DM255N+r2js16ddLMFzUbH/5gS14oITlXyXLVqobrDyHn5QLhINvJyrH5DRu8qC64fy tj3qkGlc5lMxEv2kOfW+vsu2l1HJfj+8gowCARP5sdSl/OFqzRaEy8XVJ2MnDdFCaLB3 nPzbRpeHdyNPUJIyM8KGLl6a51WYuGI+R5rp7iM0qtP8oFfTvb69eKRbfD9r3SWRxk2q 5zLg== X-Received: by 10.195.12.18 with SMTP id em18mr15806834wjd.78.1372063285683; Mon, 24 Jun 2013 01:41:25 -0700 (PDT) Received: from lnx-rg.pr (lyon.paratronic.fr. [213.41.177.106]) by mx.google.com with ESMTPSA id m3sm14877450wij.5.2013.06.24.01.41.23 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 01:41:24 -0700 (PDT) From: Richard Genoud To: buildroot@busybox.net Date: Mon, 24 Jun 2013 10:40:56 +0200 Message-Id: <1372063256-23292-6-git-send-email-richard.genoud@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1372063256-23292-1-git-send-email-richard.genoud@gmail.com> References: <1371743610-17810-1-git-send-email-richard.genoud@gmail.com> <1372063256-23292-1-git-send-email-richard.genoud@gmail.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCHv3 5/5] tcl: make the libtcl writable in order to be stripped X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net The libtcl is installed with 0555 and that prevents it from being stripped. Signed-off-by: Richard Genoud --- package/tcl/tcl.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index 3fd4047..9f766e0 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -42,5 +42,12 @@ endef TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH endif +# library get installed read only, so strip fails +define TCL_FIXUP_RO_LIB + chmod +w $(TARGET_DIR)/usr/lib/libtcl* +endef + +TCL_POST_INSTALL_TARGET_HOOKS += TCL_FIXUP_RO_LIB + $(eval $(autotools-package)) $(eval $(host-autotools-package))