Adding semihosting support for bmsp
This commit is contained in:
@@ -27,6 +27,7 @@ SET(LIBWRAP_SRCS
|
||||
${LIBWRAP_DIR}/sys/_exit.c
|
||||
${LIBWRAP_DIR}/misc/write_hex.c
|
||||
${LIBWRAP_DIR}/sys/printf.c
|
||||
${LIBWRAP_DIR}/sys/puts.c
|
||||
)
|
||||
IF(${SEMIHOSTING})
|
||||
SET(LIBWRAP_SRCS ${LIBWRAP_SRCS} ${LIBWRAP_DIR}/semihosting/semihosting.c ${LIBWRAP_DIR}/semihosting/trap.c)
|
||||
@@ -49,6 +50,6 @@ FOREACH(SYM ${LIBWRAP_SYMS})
|
||||
LIST(APPEND WRAP_LDFLAGS "-Wl,--wrap=${SYM}")
|
||||
ENDFOREACH()
|
||||
|
||||
SET(LIBWRAP_TGC_LDFLAGS ${WRAP_LDFLAGS} "-Wl,--start-group" "-Wl,--end-group")
|
||||
SET(LIBWRAP_TGC_LDFLAGS ${WRAP_LDFLAGS} "-Wl,--start-group" "-Wl,--end-group" "-L. -lLIBWRAP_TGC")
|
||||
|
||||
ENDIF(NOT DEFINED _MK_LIBWRAP)
|
||||
|
Reference in New Issue
Block a user