summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/tools/code_generator.py
diff options
context:
space:
mode:
authormormj <34754695+mormj@users.noreply.github.com>2021-11-24 11:48:10 -0500
committerGitHub <noreply@github.com>2021-11-24 11:48:10 -0500
commitd3e49a4e0c72ab81d18bf479d2f6cdccf443b616 (patch)
tree45576799fd50fe01dc894ce89c53682f8ddf680d /gr-utils/modtool/tools/code_generator.py
parent6a4eef30b0ff16006ec31a901937619ff136737a (diff)
modtool: move OOTs equal to components for 3.10
* modtool: move OOTs equal to components for 3.10 Signed-off-by: Josh Morman <jmorman@gnuradio.org> * pybind: update some python dir references Signed-off-by: Josh Morman <jmorman@gnuradio.org> * cmake: have pybind address the correct header Signed-off-by: Josh Morman <jmorman@gnuradio.org> * runtime: extend the python search path allow OOT modules to be installed in other places in PYTHONPATH that have a gnuradio directory Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: update python paths for rm Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: minor fixes for new dir structure Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: update the installed cmake targets Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: add include(CMakePackageConfigHelpers) Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: test_modules dir under gnuradio Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gr-utils/modtool/tools/code_generator.py')
-rw-r--r--gr-utils/modtool/tools/code_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/modtool/tools/code_generator.py b/gr-utils/modtool/tools/code_generator.py
index 7c6addd69f..8140e06e28 100644
--- a/gr-utils/modtool/tools/code_generator.py
+++ b/gr-utils/modtool/tools/code_generator.py
@@ -40,7 +40,7 @@ def render_template(tpl_id, **kwargs):
kwargs['strip_arg_types'] = strip_arg_types
kwargs['strip_arg_types_grc'] = strip_arg_types_grc
kwargs['grblocktype'] = GRTYPELIST[kwargs['blocktype']]
- if kwargs['is_component']:
+ if kwargs['is_component'] or kwargs['version'] in ['310']:
kwargs['include_dir_prefix'] = "gnuradio/" + kwargs['modname']
else:
kwargs['include_dir_prefix'] = kwargs['modname']