diff options
Diffstat (limited to 'volk/gen/make_config_in.py')
-rw-r--r-- | volk/gen/make_config_in.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/volk/gen/make_config_in.py b/volk/gen/make_config_in.py new file mode 100644 index 000000000..d29680af2 --- /dev/null +++ b/volk/gen/make_config_in.py @@ -0,0 +1,13 @@ +from xml.dom import minidom + +def make_config_in(dom) : + tempstring = ""; + tempstring = tempstring +'/*this file is auto generated by volk_register.py*/'; + tempstring = tempstring + '\n\n'; + + for domarch in dom: + arch = str(domarch.attributes["name"].value); + tempstring = tempstring + '#undef LV_HAVE_' + arch.swapcase() + '\n'; + tempstring = tempstring + '\n'; + + return tempstring |