aboutsummaryrefslogtreecommitdiffstats
path: root/host/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-01 10:40:13 -0700
committerJosh Blum <josh@joshknows.com>2011-04-01 10:40:13 -0700
commit70e014dffed8dde8de838dc99e70fc482f87fbb8 (patch)
treef1562edc86ef718ecdc9d8e5fcb37f3ec89359ac /host/CMakeLists.txt
parentcb9080c3c3a04f84818d698f73892441f6d14d40 (diff)
parent9f72695e33093498e5957900e97817b78dba76c3 (diff)
downloaduhd-70e014dffed8dde8de838dc99e70fc482f87fbb8.tar.gz
uhd-70e014dffed8dde8de838dc99e70fc482f87fbb8.tar.bz2
uhd-70e014dffed8dde8de838dc99e70fc482f87fbb8.zip
Merge branch 'images_install'
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r--host/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 606742865..290ffdc7d 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -210,6 +210,15 @@ ENDIF(ENABLE_UTILS)
ADD_SUBDIRECTORY(usrp_e_utils)
########################################################################
+# Handle pre-built images
+########################################################################
+IF(DEFINED UHD_IMAGES_DIR AND EXISTS "${UHD_IMAGES_DIR}")
+ FILE(GLOB _image_files "${UHD_IMAGES_DIR}/*.*")
+ MESSAGE(STATUS "Using images: ${_image_files}")
+ INSTALL(FILES ${_image_files} DESTINATION ${PKG_DATA_DIR}/images)
+ENDIF(DEFINED UHD_IMAGES_DIR AND EXISTS "${UHD_IMAGES_DIR}")
+
+########################################################################
# Print Summary
########################################################################
UHD_PRINT_COMPONENT_SUMMARY()