mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dont overwrite CFLAGS in Makefile
This commit is contained in:
parent
77990ec70e
commit
03957ab57d
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user