|
@@ -46,6 +46,14 @@ INFLATE.tar = cat
|
|
|
# suitable-extractor(filename): returns extractor based on suffix
|
|
|
suitable-extractor = $(INFLATE$(suffix $(1)))
|
|
|
|
|
|
+EXTRACTOR_PKG_DEPENDENCY.lzma = $(BR2_XZCAT_HOST_DEPENDENCY)
|
|
|
+EXTRACTOR_PKG_DEPENDENCY.xz = $(BR2_XZCAT_HOST_DEPENDENCY)
|
|
|
+EXTRACTOR_PKG_DEPENDENCY.lz = $(BR2_LZIP_HOST_DEPENDENCY)
|
|
|
+
|
|
|
+# extractor-pkg-dependency(filename): returns a Buildroot package
|
|
|
+# dependency needed to extract file based on suffix
|
|
|
+extractor-pkg-dependency = $(EXTRACTOR_PKG_DEPENDENCY$(suffix $(1)))
|
|
|
+
|
|
|
# extractor-system-dependency(filename): returns the name of the tool
|
|
|
# needed to extract 'filename', and is meant to be used with
|
|
|
# DL_TOOLS_DEPENDENCIES, in order to check that the necesary tool is
|