From c800a3ed96c267cdb4fd6cf3a7b1040850e331e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20S=C3=A1?= Date: Thu, 28 Aug 2025 15:31:27 +0100 Subject: [PATCH] libiio: Add hwmon support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Libiiop now supports controlling Hardware Monitoring devices. Hence add that as a new PACKAGECONFIG. Given that the upstream project enables it by default, let's keep the same behavior in here. Signed-off-by: Nuno Sá Signed-off-by: Khem Raj --- meta-oe/recipes-support/libiio/libiio_0.26.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/libiio/libiio_0.26.bb b/meta-oe/recipes-support/libiio/libiio_0.26.bb index ecd9223600..2fcb9e02aa 100644 --- a/meta-oe/recipes-support/libiio/libiio_0.26.bb +++ b/meta-oe/recipes-support/libiio/libiio_0.26.bb @@ -28,7 +28,7 @@ EXTRA_OECMAKE = " \ " PACKAGECONFIG ??= " \ - usb_backend network_backend serial_backend xml_backend \ + usb_backend network_backend serial_backend xml_backend hwmon \ ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'dnssd', '', d)} \ " @@ -41,6 +41,7 @@ PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON -DWITH_XML_BACKEND=ON, PACKAGECONFIG[xml_backend] = "-DWITH_XML_BACKEND=ON,${XML_BACKEND_DISABLE},libxml2" PACKAGECONFIG[dnssd] = "-DHAVE_DNS_SD=ON,-DHAVE_DNS_SD=off,avahi" PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" +PACKAGECONFIG[hwmon] = "-DWITH_HWMON=ON,-DWITH_HWMON=OFF" PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python3"