summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-07-17 18:27:53 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-18 23:09:35 +0200
commitefe465b0fd59c94a935fe63b62159fcc5e68ca0f (patch)
tree08d7e6496e2a8a36faa7866345d10c90d2ba01a2
parent31afc5866855ac480b5f327341c52655ee5b17fe (diff)
downloadbuildroot-efe465b0fd59c94a935fe63b62159fcc5e68ca0f.tar.gz
buildroot-efe465b0fd59c94a935fe63b62159fcc5e68ca0f.zip
package/mesa3d: add optional support for libsha1
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 <bernd.kuhls@t-online.de> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/mesa3d.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index dcd43d54b4..19dec49f33 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)
OpenPOWER on IntegriCloud