From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>,
Brandon Maier <brandon.maier@collins.com>
Subject: [Buildroot] [PATCH 1/1] package/mtd: fix zlib build
Date: Tue, 23 Jul 2024 11:56:14 +0200 [thread overview]
Message-ID: <20240723095614.993000-1-fontaine.fabrice@gmail.com> (raw)
Commit bb19ffeaab5ba4be0a1033ca326b25d4d4e8203f forgot to move
host-pkgconf dependency from BR2_PACKAGE_MTD_JFFS_UTILS condition to the
new BR2_PACKAGE_ZLIB condition resulting in the following build failure:
hecking for ZLIB... no
configure: error: cannot find zlib
Fixes: bb19ffeaab5ba4be0a1033ca326b25d4d4e8203f
- http://autobuild.buildroot.org/results/7cbeead738af6302d5f0048a443e3b57d6776bb2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/mtd/mtd.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index fe40cf6c06..d3444c88f2 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -28,7 +28,7 @@ MTD_CONF_OPTS += --without-lzo
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
-MTD_DEPENDENCIES += zlib
+MTD_DEPENDENCIES += host-pkgconf zlib
MTD_CONF_OPTS += --with-zlib
else
MTD_CONF_OPTS += --without-zlib
@@ -37,7 +37,6 @@ endif
MTD_CONF_ENV += LDFLAGS="$(MTD_LDFLAGS)"
ifeq ($(BR2_PACKAGE_MTD_JFFS_UTILS),y)
-MTD_DEPENDENCIES += host-pkgconf
MTD_CONF_OPTS += --with-jffs
else
MTD_CONF_OPTS += --without-jffs
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-07-23 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-23 9:56 Fabrice Fontaine [this message]
2024-07-23 10:24 ` [Buildroot] [PATCH 1/1] package/mtd: fix zlib build Thomas Petazzoni via buildroot
2024-07-23 12:27 ` Brandon Maier via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240723095614.993000-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=brandon.maier@collins.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox