aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/setup.py.in
diff options
context:
space:
mode:
authorToni Jones <toni.jones@ni.com>2019-02-21 15:05:34 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-01 15:57:01 -0600
commit902f4581372d08fa8f4ec9b2391648606d1c8c8e (patch)
tree26e443e5cf39a0245290f5782aa253a916b1ca2a /mpm/python/setup.py.in
parent394530777b3ac656609cf98b3c9e35238e3fc296 (diff)
downloaduhd-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/setup.py.in')
-rwxr-xr-xmpm/python/setup.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/setup.py.in b/mpm/python/setup.py.in
index 226cf0270..31313c9e7 100755
--- a/mpm/python/setup.py.in
+++ b/mpm/python/setup.py.in
@@ -33,6 +33,7 @@ setup(name='usrp_mpm',
'usrp_mpm.periph_manager',
'usrp_mpm.dboard_manager',
'usrp_mpm.chips',
+ 'usrp_mpm.chips.ic_reg_maps',
'usrp_mpm.cores',
'usrp_mpm.sys_utils',
'usrp_mpm.xports',