mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/lldpd: fix readline dependency
lldpd can optionally depend on readline, but readline is never added to LLDPD_DEPENDENCIES, which this commit fixes. This was detected using per-package directories. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bc60c57f69
commit
9947b87877
@ -36,7 +36,6 @@ LLDPD_CONF_OPTS = \
|
|||||||
--without-libbsd \
|
--without-libbsd \
|
||||||
--disable-hardening \
|
--disable-hardening \
|
||||||
--disable-privsep \
|
--disable-privsep \
|
||||||
$(if $(BR2_PACKAGE_READLINE),--with-readline,--without-readline) \
|
|
||||||
$(if $(BR2_PACKAGE_LLDPD_CDP),--enable-cdp,--disable-cdp) \
|
$(if $(BR2_PACKAGE_LLDPD_CDP),--enable-cdp,--disable-cdp) \
|
||||||
$(if $(BR2_PACKAGE_LLDPD_FDP),--enable-fdp,--disable-fdp) \
|
$(if $(BR2_PACKAGE_LLDPD_FDP),--enable-fdp,--disable-fdp) \
|
||||||
$(if $(BR2_PACKAGE_LLDPD_EDP),--enable-edp,--disable-edp) \
|
$(if $(BR2_PACKAGE_LLDPD_EDP),--enable-edp,--disable-edp) \
|
||||||
@ -46,6 +45,13 @@ LLDPD_CONF_OPTS = \
|
|||||||
$(if $(BR2_PACKAGE_LLDPD_DOT3),--enable-dot3,--disable-dot3) \
|
$(if $(BR2_PACKAGE_LLDPD_DOT3),--enable-dot3,--disable-dot3) \
|
||||||
$(if $(BR2_PACKAGE_LLDPD_CUSTOM_TLV),--enable-custom,--disable-custom)
|
$(if $(BR2_PACKAGE_LLDPD_CUSTOM_TLV),--enable-custom,--disable-custom)
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||||
|
LLDPD_CONF_OPTS += --with-readline
|
||||||
|
LLDPD_DEPENDENCIES += readline
|
||||||
|
else
|
||||||
|
LLDPD_CONF_OPTS += --without-readline
|
||||||
|
endif
|
||||||
|
|
||||||
define LLDPD_INSTALL_INIT_SYSV
|
define LLDPD_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -D -m 0755 package/lldpd/S60lldpd \
|
$(INSTALL) -D -m 0755 package/lldpd/S60lldpd \
|
||||||
$(TARGET_DIR)/etc/init.d/S60lldpd
|
$(TARGET_DIR)/etc/init.d/S60lldpd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user