diff options
author | Martin Braun <martin.braun@ettus.com> | 2022-01-28 11:53:35 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-02-16 14:52:55 -0600 |
commit | 541865b88b0b6f7425bec7a6ade8a99763e92b3f (patch) | |
tree | d70c8a4abf5ffff1bbf08475b9325dd50c2aad6c /mpm/tools/tlv_eeprom | |
parent | feb2220d81c401bf0b3bda5c4ba089427b0d3865 (diff) | |
download | uhd-541865b88b0b6f7425bec7a6ade8a99763e92b3f.tar.gz uhd-541865b88b0b6f7425bec7a6ade8a99763e92b3f.tar.bz2 uhd-541865b88b0b6f7425bec7a6ade8a99763e92b3f.zip |
mpm: cmake: Remove installation of non-relevant EEPROM tools
On N3x0 and E3x0 devices, we were erroneously installing EEPROM
utilities that are only relevant on X410.
Diffstat (limited to 'mpm/tools/tlv_eeprom')
-rw-r--r-- | mpm/tools/tlv_eeprom/CMakeLists.txt | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/mpm/tools/tlv_eeprom/CMakeLists.txt b/mpm/tools/tlv_eeprom/CMakeLists.txt index 11879cfb7..f13f1358c 100644 --- a/mpm/tools/tlv_eeprom/CMakeLists.txt +++ b/mpm/tools/tlv_eeprom/CMakeLists.txt @@ -7,21 +7,19 @@ set(eeprom_tool_sources) set(eeprom_tool_libs) -if(ENABLE_LIBMPM AND ENABLE_X400) - message(STATUS "Adding MPM EEPROM tools...") - set(eeprom_tool_libs tlv_eeprom.c tlv_eeprom_io.c crc.c eeprom-pids.c) - list(APPEND eeprom_tool_sources - eeprom-dump.c - eeprom-id.c - eeprom-init.c - ) +message(STATUS "Adding MPM EEPROM tools...") +set(eeprom_tool_libs tlv_eeprom.c tlv_eeprom_io.c crc.c eeprom-pids.c) +list(APPEND eeprom_tool_sources + eeprom-dump.c + eeprom-id.c + eeprom-init.c +) - add_executable(eeprom-update-core eeprom-init.c ${eeprom_tool_libs}) - target_compile_definitions(eeprom-update-core PRIVATE -DTLV_EEPROM_UPDATE) - install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/eeprom-update-core DESTINATION ${RUNTIME_DIR}) - add_custom_target(eeprom-update ALL COMMAND ${CMAKE_COMMAND} -E create_symlink eeprom-wrapper eeprom-update) - install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/eeprom-update DESTINATION ${RUNTIME_DIR}) -endif(ENABLE_LIBMPM AND ENABLE_X400) +add_executable(eeprom-update-core eeprom-init.c ${eeprom_tool_libs}) +target_compile_definitions(eeprom-update-core PRIVATE -DTLV_EEPROM_UPDATE) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/eeprom-update-core DESTINATION ${RUNTIME_DIR}) +add_custom_target(eeprom-update ALL COMMAND ${CMAKE_COMMAND} -E create_symlink eeprom-wrapper eeprom-update) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/eeprom-update DESTINATION ${RUNTIME_DIR}) foreach(eeprom_tool_source ${eeprom_tool_sources}) get_filename_component(eeprom_tool ${eeprom_tool_source} NAME_WE) |