summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>2015-08-27 01:26:41 +0200
committerJohn Crispin <blogic@openwrt.org>2015-10-03 08:56:27 +0200
commit9da365ee0060bbc616d39758b6e48cee28abbd07 (patch)
tree406776c84552445e9cb98d3f505baf8690545c05
parentb6618ffab8ed4981c57f53929276559698541462 (diff)
downloadunitd-9da365ee0060bbc616d39758b6e48cee28abbd07.tar
unitd-9da365ee0060bbc616d39758b6e48cee28abbd07.zip
add UTRACE_SUPPORT build option
we can now build preload-seccomp, ujail, utrace separately Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6af17a3..805e2ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -84,7 +84,9 @@ TARGET_LINK_LIBRARIES(ujail ubox)
INSTALL(TARGETS ujail
RUNTIME DESTINATION sbin
)
+endif()
+IF(UTRACE_SUPPORT)
ADD_EXECUTABLE(utrace trace/trace.c)
TARGET_LINK_LIBRARIES(utrace ubox ${json} blobmsg_json)
INSTALL(TARGETS utrace