diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-04-17 19:33:23 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-07-18 15:37:27 -0700 |
commit | 300a5e3f6e5e845b4b8d093222e1c51ca4640f79 (patch) | |
tree | 62f8bb7bc7d847b8f32f1fe5b4c9c06ef608080e /mpm/tools/CMakeLists.txt | |
parent | a1d6530ce50ca9590739ffa40464747d3db968eb (diff) | |
download | uhd-300a5e3f6e5e845b4b8d093222e1c51ca4640f79.tar.gz uhd-300a5e3f6e5e845b4b8d093222e1c51ca4640f79.tar.bz2 uhd-300a5e3f6e5e845b4b8d093222e1c51ca4640f79.zip |
mpm: initial commit of E320 code
Co-authored-by: Sugandha Gupta <sugandha.gupta@ettus.com>
Diffstat (limited to 'mpm/tools/CMakeLists.txt')
-rw-r--r-- | mpm/tools/CMakeLists.txt | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/mpm/tools/CMakeLists.txt b/mpm/tools/CMakeLists.txt index 1aa079f28..acc9c6c42 100644 --- a/mpm/tools/CMakeLists.txt +++ b/mpm/tools/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2017 Ettus Research, a National Instruments Company +# Copyright 2017-2018 Ettus Research, a National Instruments Company # # SPDX-License-Identifier: GPL-3.0 # @@ -13,21 +13,28 @@ INSTALL(PROGRAMS SET(eeprom_tool_sources) SET(eeprom_tool_libs) -IF("${MPM_DEVICE}" STREQUAL "n3xx") - MESSAGE(STATUS "Adding N3XX-specific EEPROM tools...") +IF(ENABLE_LIBMPM) + MESSAGE(STATUS "Adding MPM EEPROM tools...") SET(eeprom_tool_libs eeprom.c) SET(eeprom_tool_sources - db-dump.c - db-id.c - db-init.c eeprom-blank.c eeprom-dump.c eeprom-id.c eeprom-init.c eeprom-set-flags.c + ) +ENDIF(ENABLE_LIBMPM) +IF(ENABLE_MYKONOS) + MESSAGE(STATUS "Adding N3XX-specific EEPROM tools...") + SET(eeprom_tool_libs eeprom.c) + SET(eeprom_tool_sources + db-dump.c + db-id.c + db-init.c fan-limits.c ) -ENDIF("${MPM_DEVICE}" STREQUAL "n3xx") +ENDIF(ENABLE_MYKONOS) + #for each source: build an executable and install FOREACH(eeprom_tool_source ${eeprom_tool_sources}) |