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:
parent
12d16f037b
commit
169943e8d9
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user