summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-10 10:45:56 -0800
committerJosh Blum <josh@joshknows.com>2010-11-10 10:45:56 -0800
commit0d83209d13b558fe35b22ea06d0b38645ecbdcf7 (patch)
treebf7177635efb66e7bb9722c68f8e743402c14369 /host/utils
parent8d245c6e0b725028d1fa67d768da417b06c2d00a (diff)
downloaduhd-0d83209d13b558fe35b22ea06d0b38645ecbdcf7.tar.gz
uhd-0d83209d13b558fe35b22ea06d0b38645ecbdcf7.tar.bz2
uhd-0d83209d13b558fe35b22ea06d0b38645ecbdcf7.zip
usrp1: usrp1 util is conditionally enabled
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 174d1d997..38e21c753 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -37,9 +37,14 @@ ENDFOREACH(util_source)
SET(util_share_sources
usrp_burn_db_eeprom.cpp
usrp_burn_mb_eeprom.cpp
- usrp1_init_eeprom.cpp
)
+IF(ENABLE_USRP1)
+ LIST(APPEND util_share_sources
+ usrp1_init_eeprom.cpp
+ )
+ENDIF(ENABLE_USRP1)
+
#for each source: build an executable and install
FOREACH(util_source ${util_share_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)