diff --git a/env/common-gcc.mk b/env/common-gcc.mk index dd10511..740db1d 100644 --- a/env/common-gcc.mk +++ b/env/common-gcc.mk @@ -16,7 +16,8 @@ BOARD?=iss ASM_SRCS += $(ENV_DIR)/start.S $(ENV_DIR)/entry.S C_SRCS += $(PLATFORM_DIR)/init.c -C_SRCS += $(PLATFORM_DIR)/write.c +C_SRCS += $(PLATFORM_DIR)/bsp_write.c $(PLATFORM_DIR)/bsp_read.c + LINKER_SCRIPT ?= $(PLATFORM_DIR)/$(LINK_TARGET).lds diff --git a/libwrap/libwrap.mk b/libwrap/libwrap.mk index b4fd597..aecf019 100644 --- a/libwrap/libwrap.mk +++ b/libwrap/libwrap.mk @@ -9,6 +9,7 @@ LIBWRAP_SRCS := \ sys/open.c \ sys/lseek.c \ sys/read.c \ + sys/write.c \ sys/fstat.c \ sys/stat.c \ sys/close.c \