diff --git a/boards/msba2-common/tools/Makefile b/boards/msba2-common/tools/Makefile index 8dbdcc242acf850d68fa9e94b799d33d80e95b55..05db7a8f5fab7001e7e754050dc03f600bceafba 100644 --- a/boards/msba2-common/tools/Makefile +++ b/boards/msba2-common/tools/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" +CFLAGS += -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" CC = gcc prefix=/usr/local diff --git a/boards/redbee-econotag/Makefile.include b/boards/redbee-econotag/Makefile.include index 19179c3c2d4b7b9b59da5f3ba53f33469ec11288..addee0b20ebd15ec56e680168f7c3c51477d7246 100644 --- a/boards/redbee-econotag/Makefile.include +++ b/boards/redbee-econotag/Makefile.include @@ -5,7 +5,7 @@ export CPU = mc1322x export PREFIX = @arm-none-eabi- export CC = @$(PREFIX)gcc export AR = @$(PREFIX)ar -export CFLAGS = -std=gnu99 -march=armv4t -mtune=arm7tdmi-s -mlong-calls \ +export CFLAGS += -std=gnu99 -march=armv4t -mtune=arm7tdmi-s -mlong-calls \ -msoft-float -mthumb-interwork -fno-strict-aliasing -fno-common \ -ffixed-r8 -ffunction-sections -ffreestanding -fno-builtin \ -nodefaultlibs -Wcast-align -Wall -Wstrict-prototypes -Wextra \ diff --git a/cpu/arm_common/Makefile b/cpu/arm_common/Makefile index 765464e60b013b74d686a1538da7bd8c53176766..c9bf68070cc17fc5e57211f85562b389661dd918 100644 --- a/cpu/arm_common/Makefile +++ b/cpu/arm_common/Makefile @@ -1,6 +1,6 @@ MODULE =arm_common INCLUDES = -Iinclude -I../$(CPU)/include -I../../sys/lib -I../../drivers/include -I../../core/include -I../../sys/include -I../../hal/include -I../../.. -I../../sys/lib/fat -CFLAGS = $(CFLAGS_BASIC) +CFLAGS += $(CFLAGS_BASIC) include $(RIOTBASE)/Makefile.base