* [Buildroot] [git commit] package/lshw: add zlib optional dependency
@ 2022-08-15 19:44 Yann E. MORIN
0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2022-08-15 19:44 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=169943e8d9170917e0f9f65177e1d9a497d691ee
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/lshw/lshw.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/lshw/lshw.mk b/package/lshw/lshw.mk
index bde23d1499..86c8f356cc 100644
--- a/package/lshw/lshw.mk
+++ b/package/lshw/lshw.mk
@@ -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) \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-11 8:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 19:44 [Buildroot] [git commit] package/lshw: add zlib optional dependency Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.