diff options
| author | Toni Jones <toni.jones@ni.com> | 2019-02-21 15:05:34 -0600 |
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-01 15:57:01 -0600 |
| commit | 902f4581372d08fa8f4ec9b2391648606d1c8c8e (patch) | |
| tree | 26e443e5cf39a0245290f5782aa253a916b1ca2a /mpm/python/usrp_mpm/chips/CMakeLists.txt | |
| parent | 394530777b3ac656609cf98b3c9e35238e3fc296 (diff) | |
| download | uhd-902f4581372d08fa8f4ec9b2391648606d1c8c8e.tar.gz uhd-902f4581372d08fa8f4ec9b2391648606d1c8c8e.tar.bz2 uhd-902f4581372d08fa8f4ec9b2391648606d1c8c8e.zip | |
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.
Diffstat (limited to 'mpm/python/usrp_mpm/chips/CMakeLists.txt')
| -rw-r--r-- | mpm/python/usrp_mpm/chips/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
