build/generic_platform: keep language to None if None after tools.language_by_filename
This commit is contained in:
parent
14dae8bd73
commit
98c224be15
|
@ -322,9 +322,6 @@ class GenericPlatform:
|
|||
def add_source(self, filename, language=None, library=None):
|
||||
if language is None:
|
||||
language = tools.language_by_filename(filename)
|
||||
if language is None:
|
||||
language = "verilog"
|
||||
|
||||
if library is None:
|
||||
library = "work"
|
||||
|
||||
|
|
Loading…
Reference in New Issue