From patchwork Wed Aug 26 23:26:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Champetier X-Patchwork-Id: 511108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 897DB14012C for ; Thu, 27 Aug 2015 09:28:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Q9XQk+u7; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 2569628163A; Thu, 27 Aug 2015 01:26:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8FAF328BD21 for ; Thu, 27 Aug 2015 01:26:11 +0200 (CEST) X-policyd-weight: using cached result; rate:hard: -8.5 Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 27 Aug 2015 01:26:11 +0200 (CEST) Received: by widdq5 with SMTP id dq5so61415166wid.1 for ; Wed, 26 Aug 2015 16:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OGjrE706nERd4wzdm9Or9Tzi2pE4/zkkw9zGtI8n2e4=; b=Q9XQk+u70JM4772T+wHc38Iwh/3mL4qj3kV0hgouQzgT9yf4qNTkbpN7D+WCd906wR YFWrzEMBIj6pAIa9M+h8c4QnhBsi4gWQnG0YjHlBRseZ2KUhAUgcJVnff0quuecJSkyh HRtezoSsXkgd6jsceLxjjNzxUdrBd+UeRp/O2010OQ/YdZEauI6jvGK27DFSezuv4tl/ Sq2ocgMtRIGq5A8GWyiGUNG0ixQ17VFXcl1KG2PN7lgF7s0BvlGwzswpP32mzDRDC/bf JGgqq2++3Rj2oN2cnIrvIhI6uLYQ349P4rOcgKtq+8/GB2+3nL/x363NZIh7BVotYWi/ uu2g== X-Received: by 10.181.11.168 with SMTP id ej8mr7020227wid.83.1440631624533; Wed, 26 Aug 2015 16:27:04 -0700 (PDT) Received: from ubuntu1404.lxcnattst (ns623510.ovh.net. [5.135.134.9]) by smtp.gmail.com with ESMTPSA id lk16sm832035wic.6.2015.08.26.16.27.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Aug 2015 16:27:03 -0700 (PDT) From: Etienne CHAMPETIER To: openwrt-devel@lists.openwrt.org Date: Wed, 26 Aug 2015 23:26:41 +0000 Message-Id: <1440631607-63520-2-git-send-email-champetier.etienne@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440631607-63520-1-git-send-email-champetier.etienne@gmail.com> References: <1440631607-63520-1-git-send-email-champetier.etienne@gmail.com> Subject: [OpenWrt-Devel] [PATCH procd v3 1/7] add UTRACE_SUPPORT build option X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" we can now build preload-seccomp, ujail, utrace separately Signed-off-by: Etienne CHAMPETIER --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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