summaryrefslogtreecommitdiffstats
path: root/package/ubus/0001-Install-server-and-client-examples.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ubus/0001-Install-server-and-client-examples.patch')
-rw-r--r--package/ubus/0001-Install-server-and-client-examples.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/ubus/0001-Install-server-and-client-examples.patch b/package/ubus/0001-Install-server-and-client-examples.patch
new file mode 100644
index 0000000000..0ee4d3e64f
--- /dev/null
+++ b/package/ubus/0001-Install-server-and-client-examples.patch
@@ -0,0 +1,23 @@
+Install server and client examples
+
+Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
+---
+ examples/CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 0279f6e66b50..2f8f4e026e20 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)
++
++ INSTALL(TARGETS server client
++ RUNTIME DESTINATION sbin
++ )
+ ENDIF()
+--
+1.9.1
+
OpenPOWER on IntegriCloud