summaryrefslogtreecommitdiff
path: root/FreeRTOS
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 06:48:12 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 06:48:12 +0100
commitd111373489fb9d6e842a298d83399dab25fe6aa9 (patch)
tree666bf17bdac2ac9510061783d8bdfae2e8ac1624 /FreeRTOS
parent6c17623845a0d42285d77bdd8bbf177badf5b9f6 (diff)
This setting should actually be more global.
Diffstat (limited to 'FreeRTOS')
-rw-r--r--FreeRTOS/Makefile4
-rw-r--r--FreeRTOS/config.mk4
2 files changed, 4 insertions, 4 deletions
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