diff mbox

[1/3] package/mesa3d: add lm-sensors optional dependency

Message ID 20170319205155.3333-1-romain.naour@gmail.com
State Accepted
Headers show

Commit Message

Romain Naour March 19, 2017, 8:51 p.m. UTC
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@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mesa3d/mesa3d.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Thomas Petazzoni March 20, 2017, 9:21 p.m. UTC | #1
Hello,

On Sun, 19 Mar 2017 21:51:53 +0100, Romain Naour wrote:
> 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@gmail.com>
> Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/mesa3d/mesa3d.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

All three applied, after fixing the bogus hash issue noticed by Bernd.

Thanks!

Thomas
Peter Korsgaard March 30, 2017, 10:19 p.m. UTC | #2
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:

 > 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@gmail.com>
 > Cc: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2017.02.x, thanks.
diff mbox

Patch

diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index d29a043..61baa50 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