From 300a5e3f6e5e845b4b8d093222e1c51ca4640f79 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 17 Apr 2018 19:33:23 -0700 Subject: mpm: initial commit of E320 code Co-authored-by: Sugandha Gupta --- mpm/tools/CMakeLists.txt | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'mpm/tools/CMakeLists.txt') 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}) -- cgit v1.2.3