pathmap: remove duplicate include-path-for

* include-path-for is already part of build/core/pathmap.mk

Change-Id: I3133265559b4d4b5cc6c32b49f430422e55b34ac
gugelfrei
Ethan Chen 6 years ago
parent 6cf7640e96
commit 87b787abd9

@ -1,14 +1,3 @@
#
# Returns the path to the requested module's include directory,
# relative to the root of the source tree. Does not handle external
# modules.
#
# $(1): a list of modules (or other named entities) to find the includes for
#
define include-path-for
$(foreach n,$(1),$(patsubst $(n):%,%,$(filter $(n):%,$(pathmap_INCL))))
endef
# Enter project path into pathmap
#
# $(1): name

Loading…
Cancel
Save