* [Buildroot] [PATCH 1/1] package/makedumpfile: add zstd optional dependency
@ 2022-08-15 9:49 Fabrice Fontaine
2022-08-15 10:01 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-08-15 9:49 UTC (permalink / raw)
To: buildroot; +Cc: Alexander Egorenkov, Fabrice Fontaine
zstd is an optional dependency since bump to version 1.7.0 in commit
bbc52f3ff382e4c50baea2e1876a3f6ebf77a851 and
https://github.com/makedumpfile/makedumpfile/commit/afd0a6db2a0543217f8e46955a1b44b71f7e7ef3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/makedumpfile/makedumpfile.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/makedumpfile/makedumpfile.mk b/package/makedumpfile/makedumpfile.mk
index 815a159b00..868c681344 100644
--- a/package/makedumpfile/makedumpfile.mk
+++ b/package/makedumpfile/makedumpfile.mk
@@ -31,6 +31,11 @@ MAKEDUMPFILE_DEPENDENCIES += snappy
MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on
endif
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+MAKEDUMPFILE_DEPENDENCIES += zstd
+MAKEDUMPFILE_MAKE_OPTS += USEZSTD=on
+endif
+
define MAKEDUMPFILE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
$(MAKEDUMPFILE_MAKE_OPTS)
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/makedumpfile: add zstd optional dependency
2022-08-15 9:49 [Buildroot] [PATCH 1/1] package/makedumpfile: add zstd optional dependency Fabrice Fontaine
@ 2022-08-15 10:01 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-15 10:01 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Alexander Egorenkov, buildroot
On Mon, 15 Aug 2022 11:49:34 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> zstd is an optional dependency since bump to version 1.7.0 in commit
> bbc52f3ff382e4c50baea2e1876a3f6ebf77a851 and
> https://github.com/makedumpfile/makedumpfile/commit/afd0a6db2a0543217f8e46955a1b44b71f7e7ef3
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/makedumpfile/makedumpfile.mk | 5 +++++
> 1 file changed, 5 insertions(+)
We sometimes apply optional dependency handling patches to master, when
they have a "disable" logic that potentially avoids spurious detection.
But that's not the case here, so I have applied this patch to next. Let
me know if you disagree.
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] 2+ messages in thread
end of thread, other threads:[~2022-08-15 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15 9:49 [Buildroot] [PATCH 1/1] package/makedumpfile: add zstd optional dependency Fabrice Fontaine
2022-08-15 10:01 ` Thomas Petazzoni via buildroot
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.