aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-12-18 17:15:58 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 16:25:36 +0100
commitb6bc89e63ee24c4e5ec1559d7390da90201ff9cd (patch)
treed6a1d00e0b543080ba49f452c9a6527def01b43c
parentf52c18b5ca626c680f8f2692f4c81a5ed00cb66e (diff)
plugins: Remove J1939 condition in CMakeLists file
Remove condition to fix library link problem. This makes the build not happens at all if you don't have the J1939 CAN Kernel module isn't installed. Change-Id: I52f7bf2d6806e33505450c809a5ce7c463d91ab9 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xplugins/CMakeLists.txt28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index eba9542f..82ca2ffc 100755
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -16,33 +16,6 @@
# limitations under the License.
###########################################################################
-PROJECT_TARGET_ADD(agl-vcar-signals)
-
- # Define targets
- ADD_LIBRARY(${TARGET_NAME} MODULE ${TARGET_NAME}.cpp)
-
- # Alsa Plugin properties
- SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- LABELS "PLUGIN"
- PREFIX ""
- SUFFIX ".ctlso"
- OUTPUT_NAME ${TARGET_NAME}
- )
-
- target_include_directories(${TARGET_NAME}
- PRIVATE "../low-can-binding")
-
- # Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(${TARGET_NAME}
- low-can
- openxc-message-format
- uds-c
- isotp-c
- bitfield-c
- afb-helpers
- ${link_libraries})
-
-if(WITH_FEATURE_J1939)
PROJECT_TARGET_ADD(default-signals)
# Define targets
@@ -68,4 +41,3 @@ PROJECT_TARGET_ADD(default-signals)
bitfield-c
afb-helpers
${link_libraries})
-endif()