Browse Source

owfs: disable avahi dependency

Avahi is not a mandatory owfs dependency so disable it to avoid
Avahi/DBus daemons bloat.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
lilik-openwrt-22.03
Marcin Jurkowski 6 years ago
parent
commit
b688595812
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      utils/owfs/Makefile

+ 3
- 3
utils/owfs/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=owfs PKG_NAME:=owfs
PKG_VERSION:=3.2p3 PKG_VERSION:=3.2p3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/owfs/owfs/releases/download/v$(PKG_VERSION) PKG_SOURCE_URL:=https://github.com/owfs/owfs/releases/download/v$(PKG_VERSION)
@ -86,8 +86,7 @@ define Package/libow
DEPENDS:= \ DEPENDS:= \
+libpthread \ +libpthread \
+LIBOW_MASTER_USB:libusb-compat \ +LIBOW_MASTER_USB:libusb-compat \
+LIBOW_MASTER_W1:kmod-w1 \
+libavahi-client
+LIBOW_MASTER_W1:kmod-w1
TITLE:=OWFS - common shared library TITLE:=OWFS - common shared library
endef endef
@ -192,6 +191,7 @@ CONFIGURE_ARGS += \
--disable-owphp \ --disable-owphp \
--disable-owtcl \ --disable-owtcl \
--disable-swig \ --disable-swig \
--disable-avahi \
$(if $(CONFIG_LIBOW_MASTER_USB),--enable-usb,--disable-usb) \ $(if $(CONFIG_LIBOW_MASTER_USB),--enable-usb,--disable-usb) \
$(if $(CONFIG_LIBOW_MASTER_W1),--enable-w1,--disable-w1) \ $(if $(CONFIG_LIBOW_MASTER_W1),--enable-w1,--disable-w1) \
$(if $(CONFIG_LIBOW_MASTER_I2C),--enable-i2c,--disable-i2c) \ $(if $(CONFIG_LIBOW_MASTER_I2C),--enable-i2c,--disable-i2c) \


Loading…
Cancel
Save