Skip to content
Snippets Groups Projects
Commit 1f99060a authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Formatting/typo fixes

parent 86ac41f0
No related branches found
No related tags found
2 merge requests!439RCG 5.0 release fro deb 10,!367Build Reorganization Total
......@@ -4,7 +4,7 @@
#include <linux/version.h>
#include <linux/time.h>
// linux/timekeeping.h does not include all the headers is uses
// linux/timekeeping.h does not include all the headers it uses
// so we must include linux/ktime.h before using it
//
#include <linux/ktime.h>
......
......@@ -8,9 +8,9 @@ project (${MODEL_NAME})
option(USE_STDLIB_MATH "This option uses the stdlib's math.h implementation instead of the inline assembly default" OFF)
#We want to use ${MODEL_NAME} for the library name, cmake will complain
#if we pass it in because the exe name matches, remove the "lib"
#prefix, add it back manually and cmake does not complain
# We want to use ${MODEL_NAME} for the library name, cmake will complain
# if we pass it in because the exe name matches, remove the "lib"
# prefix, add it back manually and cmake does not complain
set(CMAKE_STATIC_LIBRARY_PREFIX "")
set(LIB_NAME lib${MODEL_NAME})
......@@ -22,7 +22,7 @@ if(${USE_STDLIB_MATH})
list(APPEND CFLAGS "-DUSE_STDLIB_MATH=1")
endif()
#Turn the ; seperated list into space seperated list and add to CFLAGS
# Turn the ; seperated list into space seperated list and add to CFLAGS
string(REPLACE ";" " " CFLAGS_SPACE_SEPERATED "${CFLAGS}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CFLAGS_SPACE_SEPERATED}" )
......@@ -59,12 +59,12 @@ endif(IOP_MODEL)
if(DEFINED USE_DOLPHIN_TIMING OR DEFINED XMIT_DOLPHIN_TIME)
else()
#Looks like userspace controllerIopUser uses initAdcModules() which are inline
#https://git.ligo.org/cds/advligorts/-/blob/master/src/fe/controllerIopUser.c#L550
# Looks like userspace controllerIopUser uses initAdcModules() which are inline
# https://git.ligo.org/cds/advligorts/-/blob/master/src/fe/controllerIopUser.c#L550
endif()
#
#Configure and build the library
# Configure and build the library
list(APPEND LIB_SRC_LIST ${COMMON_SRC_LIST} "${CMAKE_CURRENT_SOURCE_DIR}/src/fe/mapApp.c")
add_library(${LIB_NAME} ${LIB_SRC_LIST})
target_include_directories(${LIB_NAME} PUBLIC ${INC_DIRS})
......@@ -75,7 +75,7 @@ endif()
#
#Configure and build the model. ${INC_DIRS} is defined by UserspaceVars.cmake
# Configure and build the model. ${INC_DIRS} is defined by UserspaceVars.cmake
add_executable(${PROJECT_NAME} ${MODEL_SRC_LIST} )
target_include_directories(${PROJECT_NAME} PRIVATE ${INC_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${LIB_NAME})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment