8000 package/libiio: Update to the latest git HEAD and add HWMON support · analogdevicesinc/buildroot@d8793da · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit d8793da

Browse files
committed
package/libiio: Update to the latest git HEAD and add HWMON support
This commit temporarily downloads from latest git HEAD, until v0.24 is released. This version also features HWMON support. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
1 parent ffef98e commit d8793da

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

package/libiio/Config.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND
1515
help
1616
Enable the local backend of the library.
1717

18+
config BR2_PACKAGE_LIBIIO_HWMON_SUPPORT
19+
bool "hwmon support"
20+
default y
21+
help
22+
Enable hwmon support.
23+
1824
config BR2_PACKAGE_LIBIIO_LOCAL_CONFIG
1925
bool "Local context attributes"
2026
depends on BR2_PACKAGE_LIBINI

package/libiio/libiio.hash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ sha256 81c414d5c47b715d9bc9275b9fabbfd9e9483e60c035f3001b5977932049595d libiio-
1515
sha256 03d13165cbeb83b036743cbd9a10e336c728da162714f39d13250a3d94305cac libiio-0.21.tar.gz
1616
sha256 742adfae2c6f7f443772bf08729693855c1799d1ff6cb86d707045c81d014dbf libiio-fb64aca8adcaa607b482091b23b8edf10e5c1ad8.tar.gz
1717
sha256 df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00 libiio-0.23.tar.gz
18+
sha256 359df9cbb200361c6bd13d4ed3400e9ecb9d483f1dc5d7a57797e7b590bc5ac3 libiio-60de6b948a04d4074d2feca46dbb64dca92ae60d-br1.tar.gz

package/libiio/libiio.mk

Lines changed: 12 additions & 6 deletions
14
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#
55
################################################################################
66

7-
LIBIIO_VERSION = 0.23
8-
LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION))
7+
#LIBIIO_VERSION = 0.24
8+
#LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION))
99

10-
#LIBIIO_VERSION = fb64aca8adcaa607b482091b23b8edf10e5c1ad8
11-
#LIBIIO_SITE = https://github.com/analogdevicesinc/libiio.git
12-
#LIBIIO_SITE_METHOD = git
10+
LIBIIO_VERSION = 60de6b948a04d4074d2feca46dbb64dca92ae60d
11+
LIBIIO_SITE = https://github.com/analogdevicesinc/libiio.git
12+
LIBIIO_SITE_METHOD = git
1313

14
LIBIIO_INSTALL_STAGING = YES
1515
LIBIIO_LICENSE = LGPL-2.1+
@@ -25,7 +25,7 @@ LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \
2525
-DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \
2626
-DWITH_DOC=OFF
2727

28-
# -DLIBIIO_VERSION_GIT=fb64aca \
28+
-DLIBIIO_VERSION_GIT=60de6b948 \
2929

3030
ifeq ($(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),y)
3131
LIBIIO_DEPENDENCIES += libini
@@ -52,6 +52,12 @@ else
5252
LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=OFF
5353
endif
5454

55+
ifeq ($(BR2_PACKAGE_LIBIIO_HWMON_SUPPORT),y)
56+
LIBIIO_CONF_OPTS += -DWITH_HWMON=ON
57+
else
58+
LIBIIO_CONF_OPTS += -DWITH_HWMON=OFF
59+
endif
60+
5561
ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y)
5662
LIBIIO_DEPENDENCIES += host-flex host-bison libaio
5763
LIBIIO_CONF_OPTS += -DWITH_IIOD=ON -DWITH_AIO=ON

0 commit comments

Comments
 (0)
0