2015-07-02 23:13:53 +00:00
|
|
|
CONTIKI_CPU_DIRS += . init/common
|
2007-05-13 08:41:11 +00:00
|
|
|
|
2015-04-29 17:58:29 +00:00
|
|
|
CONTIKI_SOURCEFILES += gdt.c helpers.S idt.c cpu.c
|
2006-06-17 22:41:10 +00:00
|
|
|
|
|
|
|
CC = gcc
|
2007-03-15 21:52:00 +00:00
|
|
|
LD = gcc
|
2006-06-17 22:41:10 +00:00
|
|
|
AS = as
|
|
|
|
OBJCOPY = objcopy
|
2015-07-01 21:20:20 +00:00
|
|
|
SIZE = size
|
2006-06-17 22:41:10 +00:00
|
|
|
STRIP = strip
|
2015-04-29 17:58:29 +00:00
|
|
|
|
2015-07-10 14:44:28 +00:00
|
|
|
CFLAGS += -Wall
|
2015-07-06 21:39:18 +00:00
|
|
|
LDFLAGS += -Wl,-Map=contiki-$(TARGET).map,--build-id=none
|
2015-07-10 14:01:57 +00:00
|
|
|
|
|
|
|
ifeq ($(BUILD_RELEASE),1)
|
|
|
|
CFLAGS += -Os -fno-strict-aliasing
|
|
|
|
LDFLAGS += -Wl,--strip-all
|
2015-07-10 14:44:28 +00:00
|
|
|
else
|
|
|
|
CFLAGS += -Og -ggdb3
|
2015-07-10 14:01:57 +00:00
|
|
|
endif
|