2006-08-21 12:11:16 +00:00
|
|
|
PATH_CONTIKI = ../../..
|
|
|
|
PATH_COOJA_CORE_RELATIVE = /platform/cooja
|
|
|
|
PATH_MAKE = make
|
|
|
|
PATH_LINKER = ld
|
2007-09-28 07:21:21 +00:00
|
|
|
PATH_AR=ar
|
2006-08-21 12:11:16 +00:00
|
|
|
PATH_SHELL = sh
|
|
|
|
PATH_C_COMPILER = gcc
|
2006-11-08 02:08:00 +00:00
|
|
|
PATH_OBJDUMP=objdump
|
|
|
|
OBJDUMP_ARGS=-h
|
2008-11-11 11:47:15 +00:00
|
|
|
CMD_GREP_PROCESSES = grep '^PROCESS_THREAD[ ]*([^,]*,[^,]*,[^)]*)' -o -d skip -D skip -H -r
|
|
|
|
REGEXP_PARSE_PROCESSES = ([^/]*.c):PROCESS_THREAD[ ]*\\(([^,]*),[^,]*,[^)]*\\)
|
2006-08-21 12:11:16 +00:00
|
|
|
CMD_GREP_INTERFACES = grep '^SIM_INTERFACE([^,]*,' -o -d skip -D skip -H -r
|
|
|
|
REGEXP_PARSE_INTERFACES = ([^/]*.c):SIM_INTERFACE\\(([^,]*),
|
|
|
|
CMD_GREP_SENSORS = grep '^SENSORS_SENSOR([^,]*,' -o -d skip -D skip -H -r
|
|
|
|
REGEXP_PARSE_SENSORS = ([^/]*.c):SENSORS_SENSOR\\(([^,]*),
|
2008-10-05 15:50:20 +00:00
|
|
|
COMPILER_ARGS = -mno-cygwin -Wall -I'$(JAVA_HOME)/include' -I'$(JAVA_HOME)/include/win32' -fno-builtin-printf
|
2007-09-17 13:06:36 +00:00
|
|
|
LINK_COMMAND_1 = gcc -mno-cygwin -shared -Wl,-Map=$(MAPFILE) -Wl,--add-stdcall-alias -o $(LIBFILE)
|
|
|
|
LINK_COMMAND_2 = -L/usr/lib/mingw -lmsvcrt
|
2007-09-28 07:21:21 +00:00
|
|
|
AR_COMMAND_1 = ar rcf $(ARFILE)
|
|
|
|
AR_COMMAND_2 =
|
2007-05-21 14:59:57 +00:00
|
|
|
CONTIKI_STANDARD_PROCESSES = sensors_process;etimer_process
|
2007-03-22 16:20:22 +00:00
|
|
|
CONTIKI_MAIN_TEMPLATE_FILENAME = contiki_template.c
|
2007-03-23 14:36:27 +00:00
|
|
|
CORECOMM_TEMPLATE_FILENAME = corecomm_template.java
|
|
|
|
PATH_JAVAC = javac
|
2010-02-04 16:03:28 +00:00
|
|
|
DEFAULT_PROJECTDIRS = [CONTIKI_DIR]/tools/cooja/apps/mrm;[CONTIKI_DIR]/tools/cooja/apps/mspsim;[CONTIKI_DIR]/tools/cooja/apps/avrora
|
2007-09-10 13:25:36 +00:00
|
|
|
|
2007-09-18 11:33:46 +00:00
|
|
|
PARSE_WITH_COMMAND = true
|
|
|
|
PARSE_COMMAND=nm -C $(LIBFILE)
|
2007-09-10 13:25:36 +00:00
|
|
|
MAPFILE_DATA_START = ^.data[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$
|
|
|
|
MAPFILE_DATA_SIZE = ^.data[ \t]*0x[0-9A-Fa-f]*[ \t]*0x([0-9A-Fa-f]*)[ \t]*$
|
|
|
|
MAPFILE_BSS_START = ^.bss[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$
|
|
|
|
MAPFILE_BSS_SIZE = ^.bss[ \t]*0x[0-9A-Fa-f]*[ \t]*0x([0-9A-Fa-f]*)[ \t]*$
|
|
|
|
MAPFILE_VAR_NAME = ^[ \t]*(0x[0-9A-Fa-f]*)[ \t]*([^ ]*)[ \t]*$
|
|
|
|
MAPFILE_VAR_ADDRESS_1 = ^[ \t]*0x([0-9A-Fa-f]*)[ \t]*
|
|
|
|
MAPFILE_VAR_ADDRESS_2 = [ \t]*$
|
|
|
|
MAPFILE_VAR_SIZE_1 = ^
|
|
|
|
MAPFILE_VAR_SIZE_2 = [ \t]*(0x[0-9A-Fa-f]*)[ \t]*[^ ]*[ \t]*$
|
2007-09-18 11:33:46 +00:00
|
|
|
COMMAND_VAR_NAME_ADDRESS = ^([0-9A-Fa-f][0-9A-Fa-f]*)[ \t][^Tt][ \t]([^ ._][^ ]*)
|
|
|
|
COMMAND_DATA_START = ^([0-9A-Fa-f]*)[ \t]D[ \t]_data_start__$
|
|
|
|
COMMAND_DATA_END = ^([0-9A-Fa-f]*)[ \t]D[ \t]_data_end__$
|
|
|
|
COMMAND_BSS_START = ^([0-9A-Fa-f]*)[ \t]B[ \t]_bss_start__$
|
|
|
|
COMMAND_BSS_END = ^([0-9A-Fa-f]*)[ \t]B[ \t]_bss_end__$
|