[Buildroot] [git commit] package/mesa3d: add lm-sensors optional dependency
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Mar 20 21:16:23 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=73401587e5984397bedddab61ad6c89712041267
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
radeon-pci-0008
Adapter: PCI adapter
temp1: +56.0 C (crit = +120.0 C, hyst = +90.0 C)
Signed-off-by: Romain Naour <romain.naour at gmail.com>
Cc: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/mesa3d/mesa3d.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 9774f05..0ad8ded 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
More information about the buildroot
mailing list