rtems5: fix linking of dependent modules, need -lCom after -lrtemsCom

This commit is contained in:
Michael Davidsaver
2020-11-21 09:40:57 -08:00
committed by Brendan Chandler
parent 8a2f336f8f
commit 75548c95d1

View File

@@ -96,11 +96,9 @@ OS_CLASS = RTEMS
#--------------------------------------------------
# Operating system flags
#OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm
ifeq ($(OS_API),posix)
OP_SYS_CFLAGS += -D__LINUX_ERRNO_EXTENSIONS__
#OP_SYS_LDLIBS += -lrtemsCom -lrtemscpu -lrtemsbsp -ltftpfs -ltelnetd -lbsd -lz -lm
OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -ltftpfs -lbsd -lz -lm
OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -ltftpfs -lbsd -lz -lm
else
OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm
endif