Skip to content

Commit

Permalink
lestarch: fixing defaults for linnux drivers (default build)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Jun 25, 2021
1 parent 7b85edc commit e933829
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Drv/LinuxGpioDriver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# MOD_DEPS: (optional) module dependencies
#
####
if(NOT DEFINED FPRIME_USE_STUBBED_DRIVERS OR FPRIME_USE_STUBBED_DRIVERS)
if(FPRIME_USE_STUBBED_DRIVERS)
set(SOURCE_FILES
"${CMAKE_CURRENT_LIST_DIR}/LinuxGpioDriverComponentAi.xml"
"${CMAKE_CURRENT_LIST_DIR}/LinuxGpioDriverComponentImplCommon.cpp"
Expand Down
2 changes: 1 addition & 1 deletion Drv/LinuxI2cDriver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# MOD_DEPS: (optional) module dependencies
#
####
if(NOT DEFINED FPRIME_USE_STUBBED_DRIVERS OR FPRIME_USE_STUBBED_DRIVERS)
if(FPRIME_USE_STUBBED_DRIVERS)
add_definitions(-DSTUBBED_LINUX_I2C_DRIVER)
set(SOURCE_FILES
"${CMAKE_CURRENT_LIST_DIR}/LinuxI2cDriverComponentAi.xml"
Expand Down
2 changes: 1 addition & 1 deletion Drv/LinuxSpiDriver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# MOD_DEPS: (optional) module dependencies
#
####
if(NOT DEFINED FPRIME_USE_STUBBED_DRIVERS OR FPRIME_USE_STUBBED_DRIVERS)
if(FPRIME_USE_STUBBED_DRIVERS)
set(SOURCE_FILES
"${CMAKE_CURRENT_LIST_DIR}/LinuxSpiDriverComponentAi.xml"
"${CMAKE_CURRENT_LIST_DIR}/LinuxSpiDriverComponentImplCommon.cpp"
Expand Down

0 comments on commit e933829

Please sign in to comment.