summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/core/bind.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@gnuradio.org>2021-10-26 07:16:15 -0400
committermormj <34754695+mormj@users.noreply.github.com>2021-10-26 10:41:10 -0400
commit0416c46599e055a3059324c8829685e99c6b4ba3 (patch)
tree69c5a30b04f05655d1764466d1cf30988638aed6 /gr-utils/modtool/core/bind.py
parent81b07c74ebd7cbd8e535ec0815356ed85dea9c32 (diff)
modtool: complete renaming of update-hash-only
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gr-utils/modtool/core/bind.py')
-rw-r--r--gr-utils/modtool/core/bind.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-utils/modtool/core/bind.py b/gr-utils/modtool/core/bind.py
index 29998babc7..c83a320c00 100644
--- a/gr-utils/modtool/core/bind.py
+++ b/gr-utils/modtool/core/bind.py
@@ -39,7 +39,7 @@ class ModToolGenBindings(ModTool):
self.info['pattern'] = blockname
self.info['addl_includes'] = kwargs['addl_includes']
self.info['define_symbols'] = kwargs['define_symbols']
- self.info['fix_hash'] = kwargs['fix_hash']
+ self.info['update_hash_only'] = kwargs['update_hash_only']
def validate(self):
""" Validates the arguments """
@@ -72,9 +72,9 @@ class ModToolGenBindings(ModTool):
files_to_process = [os.path.join(self.dir, self.info['includedir'], f'{blockname}.h') for blockname in blocknames_to_process]
bg = BindingGenerator(prefix=gr.prefix(), namespace=[
'gr', self.info['modname']], prefix_include_root=self.info['modname'], output_dir=os.path.join(self.dir, 'python'),
- define_symbols=self.info['define_symbols'], addl_includes=self.info['addl_includes'], fix_hash=self.info['fix_hash'])
+ define_symbols=self.info['define_symbols'], addl_includes=self.info['addl_includes'], update_hash_only=self.info['update_hash_only'])
for file_to_process in files_to_process:
- if self.info['fix_hash']:
+ if self.info['update_hash_only']:
bg.fix_file_hash(file_to_process)
else:
bg.gen_file_binding(file_to_process)