File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,14 @@ endif # BUILD_SYS == kbuild
131
131
$(call TOOBJSDEPS, $(ULAPI_SRCS)): EXTRAFLAGS += -fPIC $(RT_CFLAGS)
132
132
133
133
134
+ ifeq ($(BUILD_SYS),kbuild)
135
+
134
136
TEST_RTAPI_VSNPRINTF_SRCS := rtapi/test_rtapi_vsnprintf.c
135
137
USERSRCS += $(TEST_RTAPI_VSNPRINTF_SRCS)
136
138
$(call TOOBJSDEPS, $(TEST_RTAPI_VSNPRINTF_SRCS)): EXTRAFLAGS += -DSIM
137
139
../bin/test_rtapi_vsnprintf: $(call TOOBJS, $(TEST_RTAPI_VSNPRINTF_SRCS))
138
140
$(ECHO) Linking $(notdir $@)
139
141
@$(CXX) -rdynamic $(LDFLAGS) -o $@ $^
140
- TARGETS += ../bin/test_rtapi_vsnprintf
141
142
143
+ TARGETS += ../bin/test_rtapi_vsnprintf
144
+ endif
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- test_rtapi_vsnprintf
2
+ if test -x ../../bin/test_rtapi_vsnprintf
3
+ then
4
+ test_rtapi_vsnprintf
5
+ else
6
+ exit 0
7
+ fi
You can’t perform that action at this time.
0 commit comments