2013-03-19 22:02:22 +01:00
|
|
|
export INCLUDES += -I$(RIOTBOARD)/native/include
|
|
|
|
export CPU = native
|
|
|
|
|
|
|
|
# toolchain config
|
|
|
|
export PREFIX =
|
|
|
|
#export CC = @$(PREFIX)gcc
|
|
|
|
export AR = @$(PREFIX)ar
|
2013-06-12 16:23:34 +02:00
|
|
|
export CFLAGS += -std=gnu99 -Wall -m32
|
2013-03-19 22:02:22 +01:00
|
|
|
export ASFLAGS =
|
|
|
|
export AS = $(PREFIX)as
|
|
|
|
export LINK = $(PREFIX)gcc
|
|
|
|
export SIZE = $(PREFIX)size
|
|
|
|
export OBJCOPY = $(PREFIX)objcopy
|
|
|
|
FLASHER = lpc2k_pgm
|
|
|
|
TERM = pyterm.py
|
|
|
|
|
2013-06-12 16:23:34 +02:00
|
|
|
LINKFLAGS = -m32 -gc
|
2013-03-19 22:02:22 +01:00
|
|
|
|
|
|
|
ifeq ($(strip $(PORT)),)
|
|
|
|
export PORT = /dev/ttyUSB0
|
|
|
|
endif
|
2013-04-10 12:52:19 +02:00
|
|
|
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|