From d111373489fb9d6e842a298d83399dab25fe6aa9 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 24 Jan 2011 06:48:12 +0100 Subject: This setting should actually be more global. --- FreeRTOS/Makefile | 4 ---- FreeRTOS/config.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'FreeRTOS') diff --git a/FreeRTOS/Makefile b/FreeRTOS/Makefile index dc19136..63760c5 100644 --- a/FreeRTOS/Makefile +++ b/FreeRTOS/Makefile @@ -5,10 +5,6 @@ all: $(TARGET_LIB) include $(ROOTDIR)/common.mk include config.mk -ifeq ($(USE_MPU),true) -TARGET_CPPFLAGS += -DportUSING_MPU_WRAPPERS=1 -endif - TARGET_SRCS = Source/croutine.c Source/list.c Source/queue.c Source/tasks.c ifeq ($(CPU),arm) diff --git a/FreeRTOS/config.mk b/FreeRTOS/config.mk index 81248d9..188050d 100644 --- a/FreeRTOS/config.mk +++ b/FreeRTOS/config.mk @@ -1,5 +1,9 @@ TARGET_INCLUDES = $(ROOTDIR)/FreeRTOS/Source/include +ifeq ($(USE_MPU),true) +TARGET_CPPFLAGS += -DportUSING_MPU_WRAPPERS=1 +endif + ifeq ($(CPU),arm) ifeq ($(CPU_FLAVOR),lpc1768) TARGET_INCLUDES += $(ROOTDIR)/config/arm/lpc1768 $(ROOTDIR)/arch/arm/lpc17xx/Core/CM3/DeviceSupport/NXP/LPC17xx $(ROOTDIR)/arch/arm/lpc17xx/Core/CM3/CoreSupport -- cgit v1.2.3