kumquat-buildroot/package/ubus/0001-Install-server-and-client-examples.patch

29 lines
804 B
Diff
Raw Normal View History

From aa4aea68a9d2a38fabb5ae8e5a0d05dfd7bcf907 Mon Sep 17 00:00:00 2001
From: Rahul Jain <Rahul.Jain@imgtec.com>
Date: Fri, 24 Mar 2017 18:03:24 +0530
Subject: [PATCH] Install server and client examples
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
[Rahul Jain: rebase the patch on latest version]
---
examples/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 81f9997..38f153f 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -9,4 +9,8 @@ IF (BUILD_EXAMPLES)
ADD_EXECUTABLE(client client.c count.c)
TARGET_LINK_LIBRARIES(client ubus ${ubox_library})
+
+ INSTALL(TARGETS server client
+ RUNTIME DESTINATION sbin
+ )
ENDIF()
--
2.6.2