package/lshw: add zlib optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-08-15 18:48:11 +02:00 committed by Yann E. MORIN
parent 12d16f037b
commit 169943e8d9

View File

@ -29,6 +29,13 @@ else
LSHW_MAKE_OPTS += SQLITE=0
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
LSHW_DEPENDENCIES += host-pkgconf zlib
LSHW_MAKE_OPTS += ZLIB=1
else
LSHW_MAKE_OPTS += ZLIB=0
endif
define LSHW_BUILD_CMDS
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src \
$(LSHW_MAKE_OPTS) \