aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-22 11:32:10 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 11:32:10 -0800
commit24eaccf7a552d10f243fc0fd095d422bd802368c (patch)
treed4b0466de851c02363ca67be56d6bf92f136bf5c /host/lib/usrp/common
parent4f948e2c8bf62ac7b8f0ba51d9efb33c897ecdc7 (diff)
downloaduhd-24eaccf7a552d10f243fc0fd095d422bd802368c.tar.gz
uhd-24eaccf7a552d10f243fc0fd095d422bd802368c.tar.bz2
uhd-24eaccf7a552d10f243fc0fd095d422bd802368c.zip
Clean up build process
- Removed stale files (i2c_core_100, spi_core_100) - Made more compilation condiational; disabling some devices will disable dependencies as well so they don't get compiled in by default.
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r--host/lib/usrp/common/CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/host/lib/usrp/common/CMakeLists.txt b/host/lib/usrp/common/CMakeLists.txt
index e5960415e..2f4fac5c6 100644
--- a/host/lib/usrp/common/CMakeLists.txt
+++ b/host/lib/usrp/common/CMakeLists.txt
@@ -13,16 +13,21 @@ IF(ENABLE_USB)
)
ENDIF(ENABLE_USB)
+IF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230)
+ INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver")
+ LIBUHD_APPEND_SOURCES(
+ ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_ctrl.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/ad936x_manager.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver/ad9361_device.cpp
+ )
+ENDIF(ENABLE_E300 OR ENABLE_B200 OR ENABLE_N230)
+
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver")
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/adf4001_ctrl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/adf435x.cpp
${CMAKE_CURRENT_SOURCE_DIR}/adf535x.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_ctrl.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ad936x_manager.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ad9361_driver/ad9361_device.cpp
${CMAKE_CURRENT_SOURCE_DIR}/apply_corrections.cpp
${CMAKE_CURRENT_SOURCE_DIR}/validate_subdev_spec.cpp
${CMAKE_CURRENT_SOURCE_DIR}/recv_packet_demuxer.cpp