aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-10 10:25:15 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2015-08-10 11:01:43 -0700
commit377850c9699331a24650a8bc41142627f3ab4330 (patch)
tree3d8cd936f3413c059a84e8f3d0ea4d9adc564179 /host/utils
parent8c0731276af9c82f9419ec16334ec919d0414fc0 (diff)
downloaduhd-377850c9699331a24650a8bc41142627f3ab4330.tar.gz
uhd-377850c9699331a24650a8bc41142627f3ab4330.tar.bz2
uhd-377850c9699331a24650a8bc41142627f3ab4330.zip
e300: added -DE300_FORCE_NETWORK flag to CMake configuration
* Fixes building E300 support in native mode on any Linux system with libudev headers * Added E300_NATIVE check to e300_common.cpp * Improved network mode documentation
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 530bcf087..06bee48cd 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -34,11 +34,11 @@ SET(x3xx_burner_sources
)
find_package(UDev)
-IF(ENABLE_E300)
+IF(ENABLE_E300 AND NOT E300_FORCE_NETWORK)
IF(UDEV_FOUND)
LIST(APPEND util_runtime_sources usrp_e3x0_network_mode.cpp)
ENDIF(UDEV_FOUND)
-ENDIF(ENABLE_E300)
+ENDIF(ENABLE_E300 AND NOT E300_FORCE_NETWORK)
#for each source: build an executable and install
FOREACH(util_source ${util_runtime_sources})