Skip to content

Commit

Permalink
string0.c: Move from stmhal/ to lib/.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalcon committed Apr 5, 2015
1 parent e5c4362 commit 3a84c8b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cc3200/application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ APP_MAIN_SRC_C = \
serverstask.c

APP_LIB_SRC_C = $(addprefix lib/,\
libc/string0.c \
fatfs/ff.c \
mp-readline/readline.c \
)
Expand All @@ -154,7 +155,6 @@ APP_STM_SRC_C = $(addprefix stmhal/,\
printf.c \
pyexec.c \
pybstdio.c \
string0.c \
)

OBJ = $(PY_O) $(addprefix $(BUILD)/, $(APP_FATFS_SRC_C:.c=.o) $(APP_RTOS_SRC_C:.c=.o) $(APP_FTP_SRC_C:.c=.o) $(APP_HAL_SRC_C:.c=.o) $(APP_MISC_SRC_C:.c=.o))
Expand Down
8 changes: 6 additions & 2 deletions cc3200/bootmgr/bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ BOOT_PY_SRC_C = $(addprefix py/,\

BOOT_STM_SRC_C = $(addprefix stmhal/,\
printf.c \
string0.c \
)


BOOT_LIB_SRC_C = $(addprefix lib/,\
libc/string0.c \
)

OBJ = $(addprefix $(BUILD)/, $(BOOT_HAL_SRC_C:.c=.o) $(BOOT_SL_SRC_C:.c=.o) $(BOOT_CC3100_SRC_C:.c=.o) $(BOOT_UTIL_SRC_C:.c=.o) $(BOOT_MISC_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(BOOT_MAIN_SRC_C:.c=.o) $(BOOT_MAIN_SRC_S:.s=.o) $(BOOT_PY_SRC_C:.c=.o) $(BOOT_STM_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(BOOT_LIB_SRC_C:.c=.o)
# Add the linker script
LINKER_SCRIPT = bootmgr/bootmgr.lds
Expand Down
2 changes: 1 addition & 1 deletion esp8266/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ SRC_C = \

STM_SRC_C = $(addprefix stmhal/,\
printf.c \
string0.c \
pyexec.c \
pybstdio.c \
)

LIB_SRC_C = $(addprefix lib/,\
libc/string0.c \
mp-readline/readline.c \
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion minimal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ SRC_C = \
uart_core.c \
uart_extra.c \
stmhal/printf.c \
stmhal/string0.c \
stmhal/pyexec.c \
lib/libc/string0.c \
lib/mp-readline/readline.c \

SRC_S = \
Expand Down
2 changes: 1 addition & 1 deletion stmhal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ endif
#LIBS += $(shell $(CC) -print-libgcc-file-name)

SRC_LIB = $(addprefix lib/,\
libc/string0.c \
libm/math.c \
libm/asinfacosf.c \
libm/atanf.c \
Expand Down Expand Up @@ -94,7 +95,6 @@ SRC_LIB = $(addprefix lib/,\

SRC_C = \
main.c \
string0.c \
system_stm32f4xx.c \
stm32f4xx_it.c \
usbd_conf.c \
Expand Down
2 changes: 1 addition & 1 deletion teensy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ STM_SRC_C = $(addprefix stmhal/,\
printf.c \
pyexec.c \
pybstdio.c \
string0.c \
)

STM_SRC_S = $(addprefix stmhal/,\
gchelper.s \
)

LIB_SRC_C = $(addprefix lib/,\
libc/string0.c \
mp-readline/readline.c \
)

Expand Down

0 comments on commit 3a84c8b

Please sign in to comment.