* [Buildroot] [PATCH] package/synergy: fix install when building in debug
@ 2017-03-31 18:21 Pieterjan Camerlynck
2017-04-01 12:37 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Pieterjan Camerlynck @ 2017-03-31 18:21 UTC (permalink / raw)
To: buildroot
Synergy places it's executables in another location when building in
debug. Patch CMakeLists.txt to disable the behavior.
Fixes:
http://autobuild.buildroot.net/results/22d4d9a5d4363b1c9f3074f287b1383a366e0ce9
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
---
...change-output-path-when-building-in-debug.patch | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/synergy/0002-do-not-change-output-path-when-building-in-debug.patch
diff --git a/package/synergy/0002-do-not-change-output-path-when-building-in-debug.patch b/package/synergy/0002-do-not-change-output-path-when-building-in-debug.patch
new file mode 100644
index 0000000..a261b6b
--- /dev/null
+++ b/package/synergy/0002-do-not-change-output-path-when-building-in-debug.patch
@@ -0,0 +1,33 @@
+From 2868add1b7375ef4e2427edb85e27759c5ee226b Mon Sep 17 00:00:00 2001
+From: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
+Date: Fri, 31 Mar 2017 20:05:30 +0200
+Subject: [PATCH] do not change output path when building in debug
+
+Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
+---
+ CMakeLists.txt | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 94c474e..1080e41 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -43,15 +43,6 @@ project(synergy C CXX)
+ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
+ set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
+
+-# for unix, put debug files in a separate bin "debug" dir.
+-# release bin files should stay in the root of the bin dir.
+-if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
+- if (CMAKE_BUILD_TYPE STREQUAL Debug)
+- set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/debug)
+- set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib/debug)
+- endif()
+-endif()
+-
+ # Set some easy to type variables.
+ set(root_dir ${CMAKE_SOURCE_DIR})
+ set(cmake_dir ${root_dir}/res)
+--
+2.7.4
+
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/synergy: fix install when building in debug
2017-03-31 18:21 [Buildroot] [PATCH] package/synergy: fix install when building in debug Pieterjan Camerlynck
@ 2017-04-01 12:37 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-01 12:37 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 31 Mar 2017 20:21:24 +0200, Pieterjan Camerlynck wrote:
> Synergy places it's executables in another location when building in
> debug. Patch CMakeLists.txt to disable the behavior.
>
> Fixes:
> http://autobuild.buildroot.net/results/22d4d9a5d4363b1c9f3074f287b1383a366e0ce9
>
> Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
> ---
> ...change-output-path-when-building-in-debug.patch | 33 ++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/synergy/0002-do-not-change-output-path-when-building-in-debug.patch
Applied to master, thanks. Could you submit this patch upstream?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-01 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-31 18:21 [Buildroot] [PATCH] package/synergy: fix install when building in debug Pieterjan Camerlynck
2017-04-01 12:37 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox