summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-04 11:24:46 -0500
committerJosh Blum <josh@joshknows.com>2010-12-04 11:24:46 -0500
commita51fb2ed133f5550265d32e49d601d6d90e0e277 (patch)
tree3ef46ef45a38761d642a48219fc4bdb20eb08b8d /host/utils
parent148e3856823e93b4e3ae0b178107f4b905879de5 (diff)
downloaduhd-a51fb2ed133f5550265d32e49d601d6d90e0e277.tar.gz
uhd-a51fb2ed133f5550265d32e49d601d6d90e0e277.tar.bz2
uhd-a51fb2ed133f5550265d32e49d601d6d90e0e277.zip
uhd: only install usrp2 apps when the component is enabled
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt15
1 files changed, 9 insertions, 6 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index ff048beb0..a8e50f72b 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -66,9 +66,12 @@ FOREACH(util_source ${util_share_sources})
INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/utils)
ENDFOREACH(util_source)
-INSTALL(PROGRAMS
- usrp2_recovery.py
- usrp2_card_burner.py
- usrp2_card_burner_gui.py
- DESTINATION ${PKG_DATA_DIR}/utils
-)
+IF(ENABLE_USRP2)
+ INSTALL(PROGRAMS
+ usrp2_recovery.py
+ usrp2_card_burner.py
+ usrp2_card_burner_gui.py
+ usrp_n2xx_net_burner.py
+ DESTINATION ${PKG_DATA_DIR}/utils
+ )
+ENDIF(ENABLE_USRP2)