teensy: Update for readline module moved to lib/.

minimal-port
Paul Sokolovsky 2015-01-12 04:26:15 +02:00
parent 06e9cb688b
commit 708574b082
1 changed files with 6 additions and 1 deletions

View File

@ -32,6 +32,7 @@ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -mfloat
INC = -I.
INC += -I..
INC += -I../stmhal
INC += -I../lib/mp-readline
INC += -I$(BUILD)
INC += -Icore
@ -100,7 +101,6 @@ STM_SRC_C = $(addprefix stmhal/,\
printf.c \
pyexec.c \
pybstdio.c \
readline.c \
string0.c \
)
@ -108,6 +108,10 @@ STM_SRC_S = $(addprefix stmhal/,\
gchelper.s \
)
LIB_SRC_C = $(addprefix lib/,\
mp-readline/readline.c \
)
SRC_TEENSY = $(addprefix core/,\
mk20dx128.c \
pins_teensy.c \
@ -120,6 +124,7 @@ SRC_TEENSY = $(addprefix core/,\
)
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
OBJ += $(BUILD)/pins_gen.o
all: hex