From patchwork Thu Jun 18 16:24:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nimai Mahajan X-Patchwork-Id: 486386 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2D04A14027C for ; Fri, 19 Jun 2015 02:24:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=inNyiI4U; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 114C133469; Thu, 18 Jun 2015 16:24:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0R6icyj+nlDm; Thu, 18 Jun 2015 16:24:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 056E833454; Thu, 18 Jun 2015 16:24:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9520B1C0055 for ; Thu, 18 Jun 2015 16:24:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 902259198F for ; Thu, 18 Jun 2015 16:24:24 +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 R9sLU-Dhlfg6 for ; Thu, 18 Jun 2015 16:24:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id A779B91990 for ; Thu, 18 Jun 2015 16:24:23 +0000 (UTC) Received: by qkhu186 with SMTP id u186so46818395qkh.0 for ; Thu, 18 Jun 2015 09:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:subject:date; bh=rlaG55q5Lvdqw/ktCJUMJwndnNvVsBoPhvPBFV72F/0=; b=inNyiI4UBV0qiZxXayaJ2oxwA748ddlKMfuMzBgVHWq6CCNEzFsMVIkaLXq3taFwQG 02RmzzruzkRs4pbCRHmGBhZvxAEFzQ8YoPlkAt6FhHu8XIV9ktz2zQVAjJSX8jzNuPX+ LN0ySHGm7dMIk7Vhfx8pJnMP/2w3EBBleA0n07FZqEUZkn9K4La4cB8KTt890J8lSgYb RYOrwWnnAqSEdg7kU9yeuKcxeLboSlXFazxo+MUIddrW8bj91ueLmfr0ufY946Y7fJRh wZU4Ls/59x/+Rm0A65J9+PFBb8IPLvuql6Kp1LRu2kg52LXdkHXYK/GfzHSZ9h2+ig2S leBg== X-Received: by 10.140.104.148 with SMTP id a20mr15869489qgf.89.1434644662806; Thu, 18 Jun 2015 09:24:22 -0700 (PDT) Received: from nimai-vm.localdomain ([66.87.30.110]) by mx.google.com with ESMTPSA id b31sm4146877qge.5.2015.06.18.09.24.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 09:24:21 -0700 (PDT) Message-ID: <5582f0b5.a25c8c0a.014c.ffff8c3b@mx.google.com> X-Google-Original-Message-ID: <1434644655-19038-1-git-send-email-Nimai> From: nimaim@gmail.com X-Google-Original-From: Nimai To: buildroot@buildroot.org Date: Thu, 18 Jun 2015 12:24:15 -0400 X-Mailer: git-send-email 1.9.1 Cc: Nimai Subject: [Buildroot] [PATCH 1/1] Modified libarchive.mk to enable support for xz/lzma 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" From: Nimai Signed-off-by: Nimai --- package/libarchive/libarchive.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index 61528d9..18fa8b7 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -9,7 +9,6 @@ LIBARCHIVE_SITE = http://www.libarchive.org/downloads LIBARCHIVE_INSTALL_STAGING = YES LIBARCHIVE_LICENSE = BSD-2c, BSD-3c LIBARCHIVE_LICENSE_FILES = COPYING -LIBARCHIVE_CONF_OPTS = --without-lzma ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y) ifeq ($(BR2_STATIC_LIBS),y) @@ -86,4 +85,10 @@ else LIBARCHIVE_CONF_OPTS += --without-zlib endif +ifeq ($(BR2_PACKAGE_XZ),y) +LIBARCHIVE_DEPENDENCIES += xz +else +LIBARCHIVE_CONF_OPTS += --without-lzma +endif + $(eval $(autotools-package))