From patchwork Wed Nov 19 21:30:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 412520 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 7237A14014D for ; Thu, 20 Nov 2014 08:31:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B290992E7F; Wed, 19 Nov 2014 21:31:12 +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 G37eWEjX3K0Y; Wed, 19 Nov 2014 21:31:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3408A92E4E; Wed, 19 Nov 2014 21:31:05 +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 04F6C1C68D1 for ; Wed, 19 Nov 2014 21:30:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0245592DF3 for ; Wed, 19 Nov 2014 21:30:50 +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 DTz4KTLKN0xG for ; Wed, 19 Nov 2014 21:30:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lupi.sysmic.org (sysmic.org [62.210.89.17]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4088292E1B for ; Wed, 19 Nov 2014 21:30:49 +0000 (UTC) Received: from lupi.online.net (sysmic.org [62.210.89.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jezz) by lupi.sysmic.org (Postfix) with ESMTPSA id 88F2341B54; Wed, 19 Nov 2014 22:30:46 +0100 (CET) From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= To: buildroot@busybox.net Date: Wed, 19 Nov 2014 22:30:41 +0100 Message-Id: <1416432642-26005-9-git-send-email-jezz@sysmic.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416432642-26005-1-git-send-email-jezz@sysmic.org> References: <1416432642-26005-1-git-send-email-jezz@sysmic.org> MIME-Version: 1.0 Cc: "Yann E. MORIN" , =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= Subject: [Buildroot] [PATCH v2 8/9] libz160: Use self-extractible helper 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: Jérôme Pouiller --- package/freescale-imx/libz160/libz160.mk | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/package/freescale-imx/libz160/libz160.mk b/package/freescale-imx/libz160/libz160.mk index d083d81..c2442d1 100644 --- a/package/freescale-imx/libz160/libz160.mk +++ b/package/freescale-imx/libz160/libz160.mk @@ -7,25 +7,14 @@ LIBZ160_VERSION = 11.09.01 LIBZ160_SOURCE = libz160-bin-$(LIBZ160_VERSION).bin LIBZ160_SITE = $(FREESCALE_IMX_SITE) LIBZ160_INSTALL_STAGING = YES -LIBZ160_LICENSE = Freescale Semiconductor Software License Agreement -# No license file is included in the archive; we could extract it from -# the self-extractor, but that's just too much effort. -# This is a legal minefield: the EULA specifies that -# the Board Support Package includes software and hardware (sic!) -# for which a separate license is needed... +# See freescale-imx +LIBZ160_LICENSE = Freescale Semiconductor Software License Agreement +LIBZ160_LICENSE_FILES = EULA LIBZ160_REDISTRIBUTE = NO -# The archive is a shell-self-extractor of a bzipped tar. Output directory -# depends of version of source. -# The --force makes sure it doesn't fail if the source dir already exists. -# The --auto-accept skips the license check - not needed for us -# because we have legal-info. define LIBZ160_EXTRACT_CMDS - (cd $(@D); \ - sh $(DL_DIR)/$(LIBZ160_SOURCE) --force --auto-accept) - mv $(@D)/libz160-bin-$(LIBZ160_VERSION)/* $(@D) - rmdir $(@D)/libz160-bin-$(LIBZ160_VERSION) + $(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(LIBZ160_SOURCE)) endef define LIBZ160_INSTALL_STAGING_CMDS