aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-10 07:20:16 -0700
committerJosh Blum <josh@joshknows.com>2010-04-10 07:20:16 -0700
commitfa96b25b99dbd19ac0689cab9bcab84063287ad3 (patch)
treea5d9f2c1b3a4f6baf5ca76239d9e43fcff642228
parent01cb9070c7b136d44d3de36d102d302d2f2de55f (diff)
downloaduhd-fa96b25b99dbd19ac0689cab9bcab84063287ad3.tar.gz
uhd-fa96b25b99dbd19ac0689cab9bcab84063287ad3.tar.bz2
uhd-fa96b25b99dbd19ac0689cab9bcab84063287ad3.zip
moved regs generator to ic reg maps folder, others will go there as well
-rw-r--r--host/lib/CMakeLists.txt14
-rwxr-xr-xhost/lib/ic_reg_maps/gen_adf4360_regs.py (renamed from host/lib/include/gen_adf4360_regs.py)0
2 files changed, 4 insertions, 10 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index dc4986f8c..58afe099d 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -17,14 +17,6 @@
########################################################################
-# Library Includes (not part of API)
-########################################################################
-INCLUDE_DIRECTORIES(
- ${CMAKE_CURRENT_SOURCE_DIR}/include
- ${CMAKE_CURRENT_BINARY_DIR}/include #generated includes
-)
-
-########################################################################
# Setup Python
########################################################################
INCLUDE(FindPythonInterp)
@@ -92,9 +84,11 @@ UHD_PYTHON_GEN_SOURCE_FILE(
${CMAKE_CURRENT_BINARY_DIR}/transport/vrt.cpp
)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/ic_reg_maps)
+
UHD_PYTHON_GEN_SOURCE_FILE(
- ${CMAKE_CURRENT_SOURCE_DIR}/include/gen_adf4360_regs.py
- ${CMAKE_CURRENT_BINARY_DIR}/include/adf4360_regs.hpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/ic_reg_maps/gen_adf4360_regs.py
+ ${CMAKE_CURRENT_BINARY_DIR}/ic_reg_maps/adf4360_regs.hpp
)
########################################################################
diff --git a/host/lib/include/gen_adf4360_regs.py b/host/lib/ic_reg_maps/gen_adf4360_regs.py
index 702c3060f..702c3060f 100755
--- a/host/lib/include/gen_adf4360_regs.py
+++ b/host/lib/ic_reg_maps/gen_adf4360_regs.py