summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-05-03 10:54:36 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-05-03 10:59:37 -0700
commitb0a4e2ad081cc55ad309d44b59583f0140f87608 (patch)
tree4546a2036f7261c65d2477a2e12112a4b3bec8da /host/utils
parent3cccb57414c87d3af97974870d877393ab5a51ff (diff)
downloaduhd-b0a4e2ad081cc55ad309d44b59583f0140f87608.tar.gz
uhd-b0a4e2ad081cc55ad309d44b59583f0140f87608.tar.bz2
uhd-b0a4e2ad081cc55ad309d44b59583f0140f87608.zip
UHD has man pages now
* Linux installations will automatically install man pages * Moved usrp_n2xx_simple_net_burner and usrp2_card_burner into bin
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt33
1 files changed, 24 insertions, 9 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 6fc11d747..73be96016 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -24,6 +24,7 @@ SET(util_runtime_sources
uhd_cal_rx_iq_balance.cpp
uhd_cal_tx_dc_offset.cpp
uhd_cal_tx_iq_balance.cpp
+ usrp_n2xx_simple_net_burner.cpp
)
#for each source: build an executable and install
@@ -41,7 +42,6 @@ SET(util_share_sources
query_gpsdo_sensors.cpp
usrp_burn_db_eeprom.cpp
usrp_burn_mb_eeprom.cpp
- usrp_n2xx_simple_net_burner.cpp
)
IF(ENABLE_USB)
@@ -66,6 +66,8 @@ FOREACH(util_source ${util_share_sources})
INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities)
ENDFOREACH(util_source)
+INSTALL(TARGETS usrp_n2xx_simple_net_burner RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities)
+
#UHD images downloader configuration
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/uhd_images_downloader.py.in
@@ -86,6 +88,13 @@ IF(LINUX)
ENDIF(LINUX)
IF(ENABLE_USRP2)
+ SET(burners
+ usrp2_card_burner.py
+ usrp2_card_burner_gui.py
+ usrp_n2xx_net_burner.py
+ usrp_n2xx_net_burner_gui.py
+ )
+
IF(WIN32 AND UHD_RELEASE_MODE) #include dd.exe
FILE(DOWNLOAD
"http://files.ettus.com/dd.exe"
@@ -103,13 +112,19 @@ IF(ENABLE_USRP2)
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities
)
+ INSTALL(PROGRAMS
+ usrp2_card_burner.py
+ RENAME usrp2_card_burner
+ DESTINATION ${RUNTIME_DIR}
+ COMPONENT utilities
+ )
ENDIF(LINUX)
- INSTALL(PROGRAMS
- usrp2_card_burner.py
- usrp2_card_burner_gui.py
- usrp_n2xx_net_burner.py
- usrp_n2xx_net_burner_gui.py
- DESTINATION ${PKG_LIB_DIR}/utils
- COMPONENT utilities
- )
+ FOREACH(burner ${burners})
+ INSTALL(PROGRAMS
+ ${burner}
+ DESTINATION ${PKG_LIB_DIR}/utils
+ COMPONENT utilities
+ )
+ ENDFOREACH(burner ${burners})
+
ENDIF(ENABLE_USRP2)