aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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