summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-05-10 15:07:03 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-05-10 15:07:03 -0700
commit6524f46bc54c36f8d50d6a3aa1c17aafb0a47d75 (patch)
tree40a0cf8ec54bae728041d7304ecd841339bace81 /host/utils
parentc6dcb2b4b63841925f4863bc0adbda9b2048475a (diff)
parent4b72513a8930ec4147dab76c079afa1186e335cd (diff)
downloaduhd-6524f46bc54c36f8d50d6a3aa1c17aafb0a47d75.tar.gz
uhd-6524f46bc54c36f8d50d6a3aa1c17aafb0a47d75.tar.bz2
uhd-6524f46bc54c36f8d50d6a3aa1c17aafb0a47d75.zip
Merge branch 'maint'
Conflicts: host/tests/CMakeLists.txt
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 73be96016..ceeab0050 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -32,7 +32,7 @@ FOREACH(util_source ${util_runtime_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
TARGET_LINK_LIBRARIES(${util_name} uhd)
- INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${RUNTIME_DIR} COMPONENT utilities)
+ UHD_INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${RUNTIME_DIR} COMPONENT utilities)
ENDFOREACH(util_source)
########################################################################
@@ -51,7 +51,7 @@ IF(ENABLE_USB)
ENDIF(ENABLE_USB)
IF(LINUX AND ENABLE_USB)
- INSTALL(FILES
+ UHD_INSTALL(FILES
uhd-usrp.rules
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities
@@ -63,23 +63,23 @@ FOREACH(util_source ${util_share_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
TARGET_LINK_LIBRARIES(${util_name} uhd)
- INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities)
+ UHD_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_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
${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py
@ONLY)
-INSTALL(PROGRAMS
+UHD_INSTALL(PROGRAMS
${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities
)
IF(LINUX)
- INSTALL(PROGRAMS
+ UHD_INSTALL(PROGRAMS
${CMAKE_CURRENT_BINARY_DIR}/uhd_images_downloader.py
RENAME uhd_images_downloader
DESTINATION ${RUNTIME_DIR}
@@ -100,19 +100,19 @@ IF(ENABLE_USRP2)
"http://files.ettus.com/dd.exe"
${CMAKE_CURRENT_BINARY_DIR}/dd.exe
)
- INSTALL(FILES
+ UHD_INSTALL(FILES
${CMAKE_CURRENT_BINARY_DIR}/dd.exe
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities
)
ENDIF(WIN32 AND UHD_RELEASE_MODE)
IF(LINUX)
- INSTALL(PROGRAMS
+ UHD_INSTALL(PROGRAMS
usrp2_recovery.py
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities
)
- INSTALL(PROGRAMS
+ UHD_INSTALL(PROGRAMS
usrp2_card_burner.py
RENAME usrp2_card_burner
DESTINATION ${RUNTIME_DIR}
@@ -120,7 +120,7 @@ IF(ENABLE_USRP2)
)
ENDIF(LINUX)
FOREACH(burner ${burners})
- INSTALL(PROGRAMS
+ UHD_INSTALL(PROGRAMS
${burner}
DESTINATION ${PKG_LIB_DIR}/utils
COMPONENT utilities