libiio: enable xml by default 13362/head
authorRosen Penev <rosenp@gmail.com>
Sat, 12 Sep 2020 05:26:14 +0000 (22:26 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 12 Sep 2020 05:34:02 +0000 (22:34 -0700)
iio-utils requires it. Also made an @ dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libiio/Makefile

index 98288ccb807e11100ba118bed32b18a0d793c9b2..1e0ff15f4636b21c6997e8f5fb41a7a3a0d030be 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libiio
 PKG_VERSION:=0.21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/analogdevicesinc/libiio/tar.gz/v$(PKG_VERSION)?
@@ -69,7 +69,7 @@ config LIBIIO_NETWORK_BACKEND
        bool "Enable network backend"
        depends on PACKAGE_libiio
        select LIBIIO_XML_BACKEND
-       default n
+       default y
 
 config LIBIIO_USB_BACKEND
        bool "Enable USB backend"
@@ -101,7 +101,7 @@ define Package/iiod
   CATEGORY:=Network
   TITLE:=Linux IIO daemon
   URL:=https://github.com/analogdevicesinc/libiio
-  DEPENDS:=+libiio
+  DEPENDS:=+libiio @LIBIIO_XML_BACKEND
 endef
 
 define Package/iiod/description