summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-30 17:24:39 +0000
committerJosh Blum <josh@joshknows.com>2010-03-30 17:24:39 +0000
commit2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de (patch)
tree8004d45471fb659c02d0f5675db101cb1566bca5 /host/lib
parentc81a975766a8831cab1e3123af94b4fe4a09d9bc (diff)
downloaduhd-2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de.tar.gz
uhd-2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de.tar.bz2
uhd-2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de.zip
tweak usrp-e cmake config
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index db5e9d273..ff002bfc0 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -54,18 +54,18 @@ LIST(APPEND libuhd_sources
MESSAGE(STATUS "Configuring usrp-e support...")
INCLUDE(CheckIncludeFiles)
-SET(usrp1e_required_headers
+SET(usrp_e_required_headers
linux/ioctl.h
linux/spi/spidev.h
- linux/usrp1_e.h
+ linux/usrp_e.h
)
CHECK_INCLUDE_FILES(
- "${usrp1e_required_headers}"
- HAS_USRP1E_REQUIRED_HEADERS
+ "${usrp_e_required_headers}"
+ HAVE_USRP_E_REQUIRED_HEADERS
)
-IF(HAS_USRP1E_REQUIRED_HEADERS)
- MESSAGE(STATUS " Building usrp1e support.")
+IF(HAVE_USRP_E_REQUIRED_HEADERS)
+ MESSAGE(STATUS " Building usrp-e support.")
LIST(APPEND libuhd_sources
usrp/usrp_e/dboard_impl.cpp
usrp/usrp_e/dboard_interface.cpp
@@ -74,12 +74,12 @@ IF(HAS_USRP1E_REQUIRED_HEADERS)
usrp/usrp_e/mboard_impl.cpp
usrp/usrp_e/usrp_e_impl.cpp
)
-ELSE(HAS_USRP1E_REQUIRED_HEADERS)
- MESSAGE(STATUS " Skipping usrp1e support.")
+ELSE(HAVE_USRP_E_REQUIRED_HEADERS)
+ MESSAGE(STATUS " Skipping usrp-e support.")
LIST(APPEND libuhd_sources
usrp/usrp_e/usrp_e_none.cpp
)
-ENDIF(HAS_USRP1E_REQUIRED_HEADERS)
+ENDIF(HAVE_USRP_E_REQUIRED_HEADERS)
########################################################################
# Setup defines for module loading