From: Romain Naour Date: Sun, 19 Mar 2017 20:51:53 +0000 (+0100) Subject: package/mesa3d: add lm-sensors optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73401587e5984397bedddab61ad6c89712041267;p=buildroot.git package/mesa3d: add lm-sensors optional dependency radeon-pci-0008 Adapter: PCI adapter temp1: +56.0 C (crit = +120.0 C, hyst = +90.0 C) Signed-off-by: Romain Naour Cc: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 9774f05d02..0ad8deda20 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -180,6 +180,13 @@ else MESA3D_CONF_OPTS += --disable-gles1 --disable-gles2 endif +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +MESA3D_CONF_OPTS += --enable-lmsensors +MESA3D_DEPENDENCIES += lm-sensors +else +MESA3D_CONF_OPTS += --disable-lmsensors +endif + # Avoid automatic search of llvm-config MESA3D_CONF_OPTS += --with-llvm-prefix=$(STAGING_DIR)/usr/bin