diff options
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/CMakeLists.txt')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/CMakeLists.txt | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/host/lib/usrp/dboard/magnesium/CMakeLists.txt b/host/lib/usrp/dboard/magnesium/CMakeLists.txt index eca9e5234..417cd4f54 100644 --- a/host/lib/usrp/dboard/magnesium/CMakeLists.txt +++ b/host/lib/usrp/dboard/magnesium/CMakeLists.txt @@ -4,17 +4,18 @@ # SPDX-License-Identifier: GPL-3.0 # -IF(ENABLE_MPMD) - LIST(APPEND MAGNESIUM_SOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_impl.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_init.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_cpld.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_gain.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_ad9371_iface.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_bands.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_cpld_ctrl.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_gain_table.cpp - ) - LIBUHD_APPEND_SOURCES(${MAGNESIUM_SOURCES}) -ENDIF(ENABLE_MPMD) +# This file is conditionally included if ENABLE_MPMD and ENABLE_N300 are +# set to true. + +LIST(APPEND MAGNESIUM_SOURCES + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_impl.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_init.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_cpld.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_radio_ctrl_gain.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_ad9371_iface.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_bands.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_cpld_ctrl.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/magnesium_gain_table.cpp +) +LIBUHD_APPEND_SOURCES(${MAGNESIUM_SOURCES}) |