summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python/build_utils.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-04-24 01:20:40 -0400
committerTom Rondeau <trondeau@vt.edu>2012-04-24 10:14:50 -0400
commitc6b220a0f96d667696d197eccd65018faf648c96 (patch)
treeea7394398c91419d5b2999448d03cec01969ec02 /gnuradio-core/src/python/build_utils.py
parent1723a717658ce7a8729528706f2b71f99dea14f5 (diff)
digital: moving generated chunks_to_symbols to gr-digital.
Diffstat (limited to 'gnuradio-core/src/python/build_utils.py')
-rw-r--r--gnuradio-core/src/python/build_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/build_utils.py b/gnuradio-core/src/python/build_utils.py
index 0660941d57..ce07579123 100644
--- a/gnuradio-core/src/python/build_utils.py
+++ b/gnuradio-core/src/python/build_utils.py
@@ -176,11 +176,11 @@ def is_complex (code3):
return '0'
-def standard_dict (name, code3):
+def standard_dict (name, code3, package='gr'):
d = {}
d['NAME'] = name
d['GUARD_NAME'] = 'INCLUDED_%s_H' % name.upper ()
- d['BASE_NAME'] = re.sub ('^gr_', '', name)
+ d['BASE_NAME'] = re.sub ('^' + package + '_', '', name)
d['SPTR_NAME'] = '%s_sptr' % name
d['WARNING'] = 'WARNING: this file is machine generated. Edits will be over written'
d['COPYRIGHT'] = copyright