cm: CM-specific build macros

* vendor/*/build/core/definitions.mk is automatically sourced by the
   build system to load custom macros. Start using this for some
   of our own.
 * Adds a "uniq" macro to remove duplicates from a list without changing
   it's order.

Change-Id: Id5f1eb4b9f81bb31ca0b3d5e74c298b3d105da10
gugelfrei
Steve Kondik 9 years ago committed by Steve Kondik
parent da87a7db23
commit ffe07b85eb

@ -0,0 +1,6 @@
#
# CM-specific macros
#
define uniq
$(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
endef
Loading…
Cancel
Save