package/file: add xz optional dependency
PATCH 1/2 package/file: add xz optional dependency
xz is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/file/file.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/file/file.mk +7 -0
@@ -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))
Signature · 1 line
2.24.1
PATCH 2/2 package/file: add bzip2 optional dependency
bzip2 is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/file/file.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/file/file.mk +7 -0
@@ -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
Signature · 1 line
2.24.1
PATCH 1/2 package/file: add xz optional dependency
In reply to Fabrice FontaineQuoted 7 lines · On Fri, 31 Jan 2020 19:05:43 +0100 Fabrice Fontaine…
xz is an optional dependency since version 5.38 and
https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7Signed-off-by Fabrice Fontaine <[email protected]>--- package/file/file.mk | 7 +++++++ 1 file changed, 7 insertions(+)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com