* [Buildroot] [PATCH 1/2] package/file: add xz optional dependency
@ 2020-01-31 18:05 Fabrice Fontaine
2020-01-31 18:05 ` [Buildroot] [PATCH 2/2] package/file: add bzip2 " Fabrice Fontaine
2020-02-01 9:30 ` [Buildroot] [PATCH 1/2] package/file: add xz " Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-01-31 18:05 UTC (permalink / raw)
To: buildroot
xz is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/file/file.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/file/file.mk b/package/file/file.mk
index 3ae7c85976..8d0968e6b2 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -21,5 +21,12 @@ else
FILE_CONF_OPTS += --disable-libseccomp
endif
+ifeq ($(BR2_PACKAGE_XZ),y)
+FILE_CONF_OPTS += --enable-xzlib
+FILE_DEPENDENCIES += xz
+else
+FILE_CONF_OPTS += --disable-xzlib
+endif
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.24.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/file: add bzip2 optional dependency
2020-01-31 18:05 [Buildroot] [PATCH 1/2] package/file: add xz optional dependency Fabrice Fontaine
@ 2020-01-31 18:05 ` Fabrice Fontaine
2020-02-01 9:30 ` [Buildroot] [PATCH 1/2] package/file: add xz " Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2020-01-31 18:05 UTC (permalink / raw)
To: buildroot
bzip2 is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/file/file.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/file/file.mk b/package/file/file.mk
index 8d0968e6b2..ffa8b8b905 100644
--- a/package/file/file.mk
+++ b/package/file/file.mk
@@ -14,6 +14,13 @@ FILE_LICENSE = BSD-2-Clause, BSD-4-Clause (one file), BSD-3-Clause (one file)
FILE_LICENSE_FILES = COPYING src/mygetopt.h src/vasprintf.c
HOST_FILE_CONF_OPTS = --disable-libseccomp
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+FILE_CONF_OPTS += --enable-bzlib
+FILE_DEPENDENCIES += bzip2
+else
+FILE_CONF_OPTS += --disable-bzlib
+endif
+
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
FILE_CONF_OPTS += --enable-libseccomp
FILE_DEPENDENCIES += libseccomp
--
2.24.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/file: add xz optional dependency
2020-01-31 18:05 [Buildroot] [PATCH 1/2] package/file: add xz optional dependency Fabrice Fontaine
2020-01-31 18:05 ` [Buildroot] [PATCH 2/2] package/file: add bzip2 " Fabrice Fontaine
@ 2020-02-01 9:30 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-02-01 9:30 UTC (permalink / raw)
To: buildroot
On Fri, 31 Jan 2020 19:05:43 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> xz is an optional dependency since version 5.38 and
> https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/file/file.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-01 9:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 18:05 [Buildroot] [PATCH 1/2] package/file: add xz optional dependency Fabrice Fontaine
2020-01-31 18:05 ` [Buildroot] [PATCH 2/2] package/file: add bzip2 " Fabrice Fontaine
2020-02-01 9:30 ` [Buildroot] [PATCH 1/2] package/file: add xz " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox