modify a Makefile
@@ -118,7 +118,8 @@ CMSIS_SRC = \
C_SOURCES += $(CMSIS_SRC)
ARCH_SRC = \
- ${wildcard $(TOP_DIR)/arch/arm/arm-m/src/*.c}
+ ${wildcard $(TOP_DIR)/arch/arm/arm-m/src/*.c} \
+ ${wildcard $(TOP_DIR)/arch/arm/arm-m/cortex-m4/*.c}
C_SOURCES += $(ARCH_SRC)
ifeq ($(WITH_LWIP), yes)
@@ -541,7 +542,8 @@ KERNEL_INC = \
C_INCLUDES += $(KERNEL_INC)
ARCH_INC = \
- -I $(TOP_DIR)/arch/arm/arm-m/include
+ -I $(TOP_DIR)/arch/arm/arm-m/include \
+ -I $(TOP_DIR)/arch/arm/arm-m/cortex-m4
C_INCLUDES += $(ARCH_INC)
