diff --git a/native/Makefile.include b/native/Makefile.include new file mode 100644 index 0000000000..a14da50af5 --- /dev/null +++ b/native/Makefile.include @@ -0,0 +1,21 @@ +export INCLUDES += -I$(RIOTBOARD)/native/include +export CPU = native + +# toolchain config +export PREFIX = +#export CC = @$(PREFIX)gcc +export AR = @$(PREFIX)ar +export CFLAGS = -std=gnu99 -Wall -m32 +export ASFLAGS = +export AS = $(PREFIX)as +export LINK = $(PREFIX)gcc +export SIZE = $(PREFIX)size +export OBJCOPY = $(PREFIX)objcopy +FLASHER = lpc2k_pgm +TERM = pyterm.py + +LINKFLAGS = -lrt -m32 + +ifeq ($(strip $(PORT)),) + export PORT = /dev/ttyUSB0 +endif