diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-02-22 11:06:23 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-03-05 15:56:41 -0800 |
commit | 1b49089d85006964b450bc3c3d70e6197c518efc (patch) | |
tree | 106382e55030320e782c3680fc6caa428b166a87 /mpm/lib/dboards | |
parent | 94fcb32310eecad96f77394f9e66d69593e9d1f6 (diff) | |
download | uhd-1b49089d85006964b450bc3c3d70e6197c518efc.tar.gz uhd-1b49089d85006964b450bc3c3d70e6197c518efc.tar.bz2 uhd-1b49089d85006964b450bc3c3d70e6197c518efc.zip |
mpm: break up device compilation
Breaking up dboard compilation based on the target MPM_DEVICE.
Diffstat (limited to 'mpm/lib/dboards')
-rw-r--r-- | mpm/lib/dboards/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mpm/lib/dboards/CMakeLists.txt b/mpm/lib/dboards/CMakeLists.txt index 7f728a836..a1017d8d3 100644 --- a/mpm/lib/dboards/CMakeLists.txt +++ b/mpm/lib/dboards/CMakeLists.txt @@ -8,7 +8,8 @@ # This file included, use CMake directory variables ######################################################################## -USRP_PERIPHS_ADD_OBJECT(dboards - magnesium_manager.cpp -) - +if(MPM_DEVICE STREQUAL "n3xx") + USRP_PERIPHS_ADD_OBJECT(dboards + magnesium_manager.cpp + ) +endif(MPM_DEVICE STREQUAL "n3xx") |