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
20 lines
263 B
Makefile
20 lines
263 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
STM32_CHIP := stm32f407
|
|
|
|
PLATFORM := stm32f2xx
|
|
|
|
DEFINES += \
|
|
ENABLE_UART3=1 \
|
|
TARGET_HAS_DEBUG_LED=1
|
|
|
|
GLOBAL_INCLUDES += $(LOCAL_DIR)/include
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/init.c
|
|
|
|
include make/module.mk
|
|
|