equal
deleted
inserted
replaced
25 |
25 |
26 # |
26 # |
27 # Anything that we downloaded and want to unpack must have a |
27 # Anything that we downloaded and want to unpack must have a |
28 # COMPONENT_ARCHIVE{_[0-9]+} macro. |
28 # COMPONENT_ARCHIVE{_[0-9]+} macro. |
29 # |
29 # |
30 TMP_SUFFIXES = $(subst COMPONENT_ARCHIVE_,, \ |
30 PCK_SUFFIXES = $(subst COMPONENT_ARCHIVE_,, \ |
31 $(filter COMPONENT_ARCHIVE_%, $(.VARIABLES))) |
31 $(filter COMPONENT_ARCHIVE_%, $(.VARIABLES))) |
32 |
32 |
33 # Template for unpacking rules. |
33 # Template for unpacking rules. |
34 define unpack-rules |
34 define unpack-rules |
35 ifdef COMPONENT_ARCHIVE$(1) |
35 ifdef COMPONENT_ARCHIVE$(1) |
64 # |
64 # |
65 # Define the rules required to download any source archives and augment any |
65 # Define the rules required to download any source archives and augment any |
66 # cleanup macros. |
66 # cleanup macros. |
67 # |
67 # |
68 $(eval $(call unpack-rules,)) |
68 $(eval $(call unpack-rules,)) |
69 $(foreach suffix, $(TMP_SUFFIXES), $(eval $(call unpack-rules,_$(suffix)))) |
69 $(foreach suffix, $(PCK_SUFFIXES), $(eval $(call unpack-rules,_$(suffix)))) |