summaryrefslogtreecommitdiff
path: root/volk/gen/volk_arch_defs.py
diff options
context:
space:
mode:
authorJosh Blum2012-04-16 00:29:26 -0700
committerJosh Blum2012-04-19 18:12:55 -0700
commit3af0f815ae3442dacdac78acf238b277f472c404 (patch)
tree88c237c7f036a1417399d654382bb6971d445164 /volk/gen/volk_arch_defs.py
parent37f9a62fd45ece1e6a92769fbb1798403c86ba9b (diff)
downloadgnuradio-3af0f815ae3442dacdac78acf238b277f472c404.tar.gz
gnuradio-3af0f815ae3442dacdac78acf238b277f472c404.tar.bz2
gnuradio-3af0f815ae3442dacdac78acf238b277f472c404.zip
volk: added compile utils and cleanup cmakelists
Diffstat (limited to 'volk/gen/volk_arch_defs.py')
-rw-r--r--volk/gen/volk_arch_defs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/volk/gen/volk_arch_defs.py b/volk/gen/volk_arch_defs.py
index d29a951eb..4f4796840 100644
--- a/volk/gen/volk_arch_defs.py
+++ b/volk/gen/volk_arch_defs.py
@@ -40,6 +40,9 @@ class arch_class:
except: setattr(self, key, failval)
assert(self.name)
assert(self.type)
+ if self.flag == 'none': self.flag = None
+ self.flags = list()
+ if self.flag: self.flags = map(str.strip, self.flag.split(','))
def __repr__(self): return self.name