[make] rename INCLUDES -> GLOBAL_INCLUDES

To be more consistent, rename make variable INCLUDES to GLOBAL_INCLUDES.
Also remove the need to put -I in front of each field, the make system
will do that for you.

To fix your module makefiles:
-Change INCLUDES -> GLOBAL_INCLUDES
-Remove -I prefix
This commit is contained in:
Travis Geiselbrecht
2013-06-07 21:51:36 -07:00
parent e0c059c034
commit e002c58b59
37 changed files with 69 additions and 73 deletions

View File

@@ -24,8 +24,8 @@ ifeq ($(MEMSIZE),)
$(error need to define MEMSIZE)
endif
INCLUDES += \
-I$(LOCAL_DIR)/include \
GLOBAL_INCLUDES += \
$(LOCAL_DIR)/include \
MODULE_SRCS += \
$(LOCAL_DIR)/debug.c \

View File

@@ -1,6 +1,6 @@
LOCAL_DIR := $(GET_LOCAL_DIR)
INCLUDES += -I$(LOCAL_DIR)
GLOBAL_INCLUDES += $(LOCAL_DIR)
MODULE_SRCS += \
$(LOCAL_DIR)/driverlib/adc.c \