|
@@ -541,7 +541,11 @@ endif # SITE_METHOD
|
|
|
|
|
|
# $(firstword) is used here because the extractor can have arguments, like
|
|
# $(firstword) is used here because the extractor can have arguments, like
|
|
# ZCAT="gzip -d -c", and to check for the dependency we only want 'gzip'.
|
|
# ZCAT="gzip -d -c", and to check for the dependency we only want 'gzip'.
|
|
|
|
+# Do not add xzcat to the list of required dependencies, as it gets built
|
|
|
|
+# automatically if it isn't found.
|
|
|
|
+ifneq ($(call suitable-extractor,$($(2)_SOURCE)),$(XZCAT))
|
|
DL_TOOLS_DEPENDENCIES += $(firstword $(call suitable-extractor,$($(2)_SOURCE)))
|
|
DL_TOOLS_DEPENDENCIES += $(firstword $(call suitable-extractor,$($(2)_SOURCE)))
|
|
|
|
+endif
|
|
|
|
|
|
endif # $(2)_KCONFIG_VAR
|
|
endif # $(2)_KCONFIG_VAR
|
|
endef # inner-generic-package
|
|
endef # inner-generic-package
|