equal
deleted
inserted
replaced
632 endef |
632 endef |
633 |
633 |
634 ################################################################################ |
634 ################################################################################ |
635 # Filter out duplicate sub strings while preserving order. Keeps the first occurance. |
635 # Filter out duplicate sub strings while preserving order. Keeps the first occurance. |
636 uniq = \ |
636 uniq = \ |
637 $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))) |
637 $(strip $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))) |
638 |
638 |
639 # Returns all whitespace-separated words in $2 where at least one of the |
639 # Returns all whitespace-separated words in $2 where at least one of the |
640 # whitespace-separated words in $1 is a substring. |
640 # whitespace-separated words in $1 is a substring. |
641 containing = \ |
641 containing = \ |
642 $(strip \ |
642 $(strip \ |