Skip to content

Commit 20d60e2

Browse files
committed
Cleanup: Fix: Don't build liblinuxcnc-uspace-posix.so for RTAI
1 parent ea7cd57 commit 20d60e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/rtapi/Submakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ $(call TOOBJSDEPS, $(RTAPI_APP_SRCS)): EXTRAFLAGS += -DSIM \
4646
$(ECHO) Linking $(notdir $@)
4747
$(Q)$(CXX) -rdynamic -o $@ $^ $(LIBDL) -pthread -lrt -lfmt $(LIBUDEV_LIBS) -ldl $(LDFLAGS)
4848
TARGETS += ../bin/rtapi_app
49-
endif
5049

5150
USPACE_POSIX_SRCS := rtapi/uspace_posix.cc
5251
USERSRCS += $(USPACE_POSIX_SRCS)
@@ -57,6 +56,8 @@ $(call TOOBJSDEPS, $(USPACE_POSIX_SRCS)): EXTRAFLAGS += -pthread -fPIC
5756
TARGETS += ../lib/liblinuxcnc-uspace-posix.so.0
5857
TARGETS += ../lib/liblinuxcnc-uspace-posix.so
5958

59+
endif
60+
6061
ifeq ($(CONFIG_USPACE_RTAI),y)
6162
USPACE_RTAI_SRCS := rtapi/uspace_rtai.cc
6263
USERSRCS += $(USPACE_RTAI_SRCS)

0 commit comments

Comments
 (0)