aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/e3xx/CMakeLists.txt
blob: 36376cd88e12c9c77448f0a8c242d0251a794f5c (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
29
30
31
#
# Copyright 2018 Ettus Research, a National Instruments Company
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

IF(ENABLE_E300 OR ENABLE_E320)
        LIST(APPEND E3XX_SOURCES
        ${CMAKE_CURRENT_SOURCE_DIR}/e3xx_radio_ctrl_impl.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/e3xx_radio_ctrl_init.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/e3xx_ad9361_iface.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/e3xx_bands.cpp
    )
    LIBUHD_APPEND_SOURCES(${E3XX_SOURCES})
ENDIF(ENABLE_E300 OR ENABLE_E320)

IF(ENABLE_E300)
        MESSAGE(STATUS "E300 Enabled")
        LIST(APPEND E300_SOURCES
        ${CMAKE_CURRENT_SOURCE_DIR}/e31x_radio_ctrl_impl.cpp
    )
    LIBUHD_APPEND_SOURCES(${E300_SOURCES})
ENDIF(ENABLE_E300)

IF(ENABLE_E320)
        MESSAGE(STATUS "E320 Enabled")
        LIST(APPEND E320_SOURCES
        ${CMAKE_CURRENT_SOURCE_DIR}/e320_radio_ctrl_impl.cpp
    )
    LIBUHD_APPEND_SOURCES(${E320_SOURCES})
ENDIF(ENABLE_E320)