mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/file: add xz optional dependency
xz is an optional dependency since version 5.38 and
b259a07ea9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
788a7560cb
commit
7e70be6d29
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user