Marcel Telka
2022-08-07 4841f66917298ee3d9bf96d5e585bd0584246a08
prep-download.mk: fix 'overriding recipe' warning

1 files modified
8 ■■■■■ changed files
make-rules/prep-download.mk 8 ●●●●● patch | view | raw | blame | history
make-rules/prep-download.mk
@@ -46,6 +46,7 @@
# Template for download rules.
define download-rules
ifdef COMPONENT_ARCHIVE$(1)
ifdef COMPONENT_ARCHIVE_URL$(1)
ARCHIVES += $$(COMPONENT_ARCHIVE$(1))
@@ -56,9 +57,6 @@
download::    $$(USERLAND_ARCHIVES)
download::    $$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1))
$$(USERLAND_ARCHIVES):
    $$(MKDIR) $$(USERLAND_ARCHIVES)
$$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)):    $(MAKEFILE_PREREQ)
    $$(FETCH) $$(FETCH_KEEP) --file $$@ \
@@ -71,8 +69,12 @@
USERLAND_REQUIRED_PACKAGES += runtime/python-27
endif
endif
endef
$(USERLAND_ARCHIVES):
    $(MKDIR) $(USERLAND_ARCHIVES)
#
# Define the rules required to download any source archives and augment any
# cleanup macros.