* [Buildroot] [PATCH 1/1] package/mtd: fix zlib build
@ 2024-07-23 9:56 Fabrice Fontaine
2024-07-23 10:24 ` Thomas Petazzoni via buildroot
2024-07-23 12:27 ` Brandon Maier via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2024-07-23 9:56 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Brandon Maier
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/mtd: fix zlib build
2024-07-23 9:56 [Buildroot] [PATCH 1/1] package/mtd: fix zlib build Fabrice Fontaine
@ 2024-07-23 10:24 ` Thomas Petazzoni via buildroot
2024-07-23 12:27 ` Brandon Maier via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-23 10:24 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Brandon Maier, buildroot
On Tue, 23 Jul 2024 11:56:14 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/mtd: fix zlib build
2024-07-23 9:56 [Buildroot] [PATCH 1/1] package/mtd: fix zlib build Fabrice Fontaine
2024-07-23 10:24 ` Thomas Petazzoni via buildroot
@ 2024-07-23 12:27 ` Brandon Maier via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Brandon Maier via buildroot @ 2024-07-23 12:27 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
Hi Fabric,
On Tue Jul 23, 2024 at 9:56 AM UTC, Fabrice Fontaine wrote:
> 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
Thank you for fixing this!
Brandon Maier
>
> 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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-23 12:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 9:56 [Buildroot] [PATCH 1/1] package/mtd: fix zlib build Fabrice Fontaine
2024-07-23 10:24 ` Thomas Petazzoni via buildroot
2024-07-23 12:27 ` Brandon Maier via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox