From 1b49089d85006964b450bc3c3d70e6197c518efc Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Thu, 22 Feb 2018 11:06:23 -0800 Subject: mpm: break up device compilation Breaking up dboard compilation based on the target MPM_DEVICE. --- mpm/lib/dboards/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mpm/lib/dboards/CMakeLists.txt') 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") -- cgit v1.2.3