summaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker/0003-AmbSignalMapper-fix-can-interface-specification.patch
blob: 3b37fbce35e0184a41ff950f2ede2a4d5cae23c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 14743846b201bec6607fcbe7727d8c71024cf920 Mon Sep 17 00:00:00 2001
From: Petr Nechaev <petr.nechaev@cogentembedded.com>
Date: Tue, 28 Jul 2015 18:39:11 +0300
Subject: [PATCH 3/9] AmbSignalMapper: fix can interface specification

---
 tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt b/tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt
index f5bfee9..4d1dd05 100644
--- a/tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt
+++ b/tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt
@@ -10,9 +10,9 @@ set(PLUGIN_INSTALL_PATH "${LIB_INSTALL_DIR}/automotive-message-broker")
 set (CMAKE_INSTALL_PREFIX /usr)
 
 # check that CAN interface is specified and use vcan0 by default
-if(NOT DEFINED ${DEFAULT_CAN_INTERFACE})
+if(NOT DEFINED DEFAULT_CAN_INTERFACE)
     set(DEFAULT_CAN_INTERFACE "vcan0")
-endif(NOT DEFINED ${DEFAULT_CAN_INTERFACE})
+endif(NOT DEFINED DEFAULT_CAN_INTERFACE)
 
 if(CMAKE_BUILD_TYPE MATCHES DEBUG)
     message("debug mode") 
-- 
1.9.1