efinity: don't add unknown language files to sources
This commit is contained in:
parent
ccd3ab17be
commit
5fd7c758a1
|
@ -203,6 +203,8 @@ def _build_xml(family, device, timing_model, build_name, sources):
|
||||||
|
|
||||||
# Add Design Sources.
|
# Add Design Sources.
|
||||||
for filename, language, library in sources:
|
for filename, language, library in sources:
|
||||||
|
if language is None:
|
||||||
|
continue
|
||||||
et.SubElement(design_info, "efx:design_file", {
|
et.SubElement(design_info, "efx:design_file", {
|
||||||
"name" : filename,
|
"name" : filename,
|
||||||
"version" : "default",
|
"version" : "default",
|
||||||
|
|
Loading…
Reference in New Issue