blob: d29680af21f1ddff96fe2ed1f0267e75e942b331 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|