From patchwork Sun Jul 17 16:27:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 649261 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]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rssLS5GjBz9s9N for ; Mon, 18 Jul 2016 02:33:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7DEC2305D9; Sun, 17 Jul 2016 16:33:18 +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 b6SpWh7YB1Z8; Sun, 17 Jul 2016 16:33:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E3A432E443; Sun, 17 Jul 2016 16:33:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id AC8801C174C for ; Sun, 17 Jul 2016 16:33:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A8AE08733E for ; Sun, 17 Jul 2016 16:33:13 +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 MOj4oIk-kpQb for ; Sun, 17 Jul 2016 16:33:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2F8AD872CC for ; Sun, 17 Jul 2016 16:33:12 +0000 (UTC) Received: from fwd41.aul.t-online.de (fwd41.aul.t-online.de [172.20.27.139]) by mailout01.t-online.de (Postfix) with SMTP id C6D15421C35C for ; Sun, 17 Jul 2016 18:28:04 +0200 (CEST) Received: from fli4l.lan.fli4l (ZXV9t+ZvohE7nNADWeOUp0FUx3qyn73hQ3LhLjK9LlvOTlVn4K46FtYfQi-m+HZwTL@[84.178.232.210]) by fwd41.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1bOov7-09sNuq0; Sun, 17 Jul 2016 18:27:57 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:38208 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1bOov6-0006Su-6A; Sun, 17 Jul 2016 18:27:56 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 17 Jul 2016 18:27:53 +0200 Message-Id: <1468772875-5090-1-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.1 X-ID: ZXV9t+ZvohE7nNADWeOUp0FUx3qyn73hQ3LhLjK9LlvOTlVn4K46FtYfQi-m+HZwTL X-TOI-MSGID: 592061ee-b97f-4eae-a8ba-e99413b999d0 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v3 1/3] package/mesa3d: add optional support for libsha1 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" mesa3d supports several sha1 implementations: https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=12.0#n1167 This patch adds support for libsha1, inspired by the xserver_xorg-server package: https://github.com/buildroot/buildroot/blob/master/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#L247 Signed-off-by: Bernd Kuhls Acked-by: "Yann E. MORIN" --- v3: no changes v2: never released, jumped from v1 to v3 package/mesa3d/mesa3d.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index dcd43d5..19dec49 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -36,6 +36,9 @@ MESA3D_CONF_OPTS += --with-sha1=libcrypto else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) MESA3D_DEPENDENCIES += libgcrypt MESA3D_CONF_OPTS += --with-sha1=libgcrypt +else ifeq ($(BR2_PACKAGE_LIBSHA1),y) +MESA3D_DEPENDENCIES += libsha1 +MESA3D_CONF_OPTS += --with-sha1=libsha1 endif ifeq ($(BR2_PACKAGE_HAS_UDEV),y)