[make] remove the need for a module to manually add $(LOCAL_DIR)/include to the global include path

Pretty much every module in the system was already doing it, so do it
automatically.
This commit is contained in:
Travis Geiselbrecht
2015-10-19 19:07:16 -07:00
parent 8d7fcb24c6
commit 3b2d7a268b
83 changed files with 3 additions and 208 deletions

View File

@@ -39,6 +39,9 @@ endif
MODULE_SRCDIR := $(MODULE)
MODULE_BUILDDIR := $(call TOBUILDDIR,$(MODULE_SRCDIR))
# add a local include dir to the global include path
GLOBAL_INCLUDES += $(MODULE_SRCDIR)/include
# add the listed module deps to the global list
MODULES += $(MODULE_DEPS)