diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2012-06-07 12:30:21 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-06-07 15:05:41 -0700 |
commit | e7df63844f0920d35bc76a9fe70f9bbb59443c2f (patch) | |
tree | 63cff49610a8f03c2168f7144e662662bb843392 /host/utils/CMakeLists.txt | |
parent | 49d4f8e479534d856a242c2271d1b930487aea6c (diff) | |
download | uhd-e7df63844f0920d35bc76a9fe70f9bbb59443c2f.tar.gz uhd-e7df63844f0920d35bc76a9fe70f9bbb59443c2f.tar.bz2 uhd-e7df63844f0920d35bc76a9fe70f9bbb59443c2f.zip |
utils: UHD Image Downloader - downloads firmware/FPGA images compatible with the current host code and places them in the images directory
Diffstat (limited to 'host/utils/CMakeLists.txt')
-rw-r--r-- | host/utils/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt index 0ecd6b4e7..8ddab035b 100644 --- a/host/utils/CMakeLists.txt +++ b/host/utils/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2010-2011 Ettus Research LLC +# Copyright 2010-2012 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -64,6 +64,17 @@ FOREACH(util_source ${util_share_sources}) INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities) ENDFOREACH(util_source) +#UHD images downloader configuration +CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/uhd_images_downloader.py + ${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py +@ONLY) +INSTALL(PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py + DESTINATION ${PKG_LIB_DIR}/utils + COMPONENT utilities +) + IF(ENABLE_USRP2) IF(WIN32 AND UHD_RELEASE_MODE) #include dd.exe FILE(DOWNLOAD |