diff options
author | Johnathan Corgan | 2012-05-02 14:37:55 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-05-02 14:37:55 -0700 |
commit | ed8fbd7733d54b80c2bd13351500d0c2da187caf (patch) | |
tree | 7fab347708fd83bbecf58cf4703db5d29467da05 /gnuradio-core/src/python/build_utils.py | |
parent | 884c23efe954f34d15f7211c360e1475c65db9db (diff) | |
parent | 7fde258b1478c01cbe7559e7b2cd0f34e36cbe33 (diff) | |
download | gnuradio-ed8fbd7733d54b80c2bd13351500d0c2da187caf.tar.gz gnuradio-ed8fbd7733d54b80c2bd13351500d0c2da187caf.tar.bz2 gnuradio-ed8fbd7733d54b80c2bd13351500d0c2da187caf.zip |
Merge branch 'digital_moves'
Diffstat (limited to 'gnuradio-core/src/python/build_utils.py')
-rw-r--r-- | gnuradio-core/src/python/build_utils.py | 4 |
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 0660941d5..ce0757912 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 |