From 902f4581372d08fa8f4ec9b2391648606d1c8c8e Mon Sep 17 00:00:00 2001 From: Toni Jones Date: Thu, 21 Feb 2019 15:05:34 -0600 Subject: cmake: Add RegMaps build component to MPM Add RegMaps build component to MPM. The PYTHON_CHECK_MODULE is included from UHDPython in order to look up the presence of Mako. Mako is required for generating the regmaps and RegMap will be disabled without it. The RegMaps component creates custom commands for generating all regmaps, creates a Python submodule "ic_reg_maps" with a custom __init__.py file, and creates a target "ic_reg_maps" which gets installed with usrp_mpm. --- mpm/python/usrp_mpm/chips/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'mpm/python/usrp_mpm/chips/CMakeLists.txt') diff --git a/mpm/python/usrp_mpm/chips/CMakeLists.txt b/mpm/python/usrp_mpm/chips/CMakeLists.txt index 1f64d8e2d..484df8572 100644 --- a/mpm/python/usrp_mpm/chips/CMakeLists.txt +++ b/mpm/python/usrp_mpm/chips/CMakeLists.txt @@ -14,4 +14,5 @@ set(USRP_MPM_CHIP_FILES ${CMAKE_CURRENT_SOURCE_DIR}/ds125df410.py ) list(APPEND USRP_MPM_FILES ${USRP_MPM_CHIP_FILES}) +add_subdirectory(ic_reg_maps) set(USRP_MPM_FILES ${USRP_MPM_FILES} PARENT_SCOPE) -- cgit v1.2.3