-# liburcu dependency
-if [ -d "$WORKSPACE/deps/liburcu" ]; then
- URCU_INCS="$WORKSPACE/deps/liburcu/build/include/"
- URCU_LIBS="$WORKSPACE/deps/liburcu/build/lib/"
-
- export CPPFLAGS="-I$URCU_INCS ${CPPFLAGS:-}"
- export LDFLAGS="-L$URCU_LIBS ${LDFLAGS:-}"
- export LD_LIBRARY_PATH="$URCU_LIBS:${LD_LIBRARY_PATH:-}"
-fi
-
-
-# lttng-ust dependency
-if [ -d "$WORKSPACE/deps/lttng-ust" ]; then
- UST_INCS="$WORKSPACE/deps/lttng-ust/build/include/"
- UST_LIBS="$WORKSPACE/deps/lttng-ust/build/lib/"
-
- export CPPFLAGS="-I$UST_INCS ${CPPFLAGS:-}"
- export LDFLAGS="-L$UST_LIBS ${LDFLAGS:-}"
- export LD_LIBRARY_PATH="$UST_LIBS:${LD_LIBRARY_PATH:-}"
-fi
-
-if [ -d "$WORKSPACE/linux" ]; then
- export KERNELDIR="$WORKSPACE/linux"