From patchwork Mon Aug 12 13:37:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 266541 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 89A392C023F for ; Mon, 12 Aug 2013 23:37:57 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BF5FD8BEA0; Mon, 12 Aug 2013 13:37:56 +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 Salf-rzfBpmB; Mon, 12 Aug 2013 13:37:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C5A5E8BEAB; Mon, 12 Aug 2013 13:37:55 +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 DF4FF1BF83D for ; Mon, 12 Aug 2013 13:38:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DF5448C498 for ; Mon, 12 Aug 2013 13:37:54 +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 pCqmqjuH+u1U for ; Mon, 12 Aug 2013 13:37:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 208E68C3B7 for ; Mon, 12 Aug 2013 13:37:53 +0000 (UTC) Received: from asgard (host181.190-138-224.telecom.net.ar [190.138.224.181]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r7CDblue020513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Aug 2013 13:37:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1376314671; bh=eWDwHsiknTklIvD1IhL6h8999LmJ1Zq+xKAstCUhc6A=; h=From:To:Cc:Subject:Date; b=GduUJtPzeN5A3fDuFXSNjk8JbPczRXwlMjtDsq8UcvmXOODI4XcfvN7SMBS9tGCCw f8Zhm8WleceHfGcG9Q63PSAs0my7qvK0t/rLHo+0jJMxMBrnFjKhZHbptFmxB11MR/ aRpt5j5OZ6GhuxzI9MLjt8dLb/jvDGnacXMikwQg= Received: by asgard (sSMTP sendmail emulation); Mon, 12 Aug 2013 10:37:46 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 12 Aug 2013 10:37:46 -0300 Message-Id: <1376314666-26777-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] readline: use normal/default install target 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 Since the custom INSTALL_TARGET doesn't consider static builds it breaks horribly and there's no need with the current version since it works just fine with a little varnish to remove samples. Fixes: http://autobuild.buildroot.net/results/5a6/5a62c38ec621d49230d76981db6024035e88804a/ Signed-off-by: Gustavo Zacarias --- package/readline/readline.mk | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/package/readline/readline.mk b/package/readline/readline.mk index 0c883bc..ff55199 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -13,14 +13,10 @@ READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes READLINE_LICENSE = GPLv3+ READLINE_LICENSE_FILES = COPYING -define READLINE_INSTALL_TARGET_CMDS - $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall - $(MAKE1) DESTDIR=$(TARGET_DIR) -C $(@D) install-shared uninstall-doc - chmod 775 $(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) \ - $(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION) - $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \ - $(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) \ - $(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION) +define READLINE_PURGE_EXAMPLES + rm -rf $(TARGET_DIR)/usr/share/readline endef +READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_PURGE_EXAMPLES + $(eval $(autotools-package))