From: Sebastien Bourdeauducq Date: Tue, 12 Feb 2013 18:16:00 +0000 (+0100) Subject: generic_platform: get absolute path for added sources X-Git-Tag: 24jan2021_ls180~2099^2~443^2~70 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feec035cc89a491249309cd356d9911d8dc68342;p=litex.git generic_platform: get absolute path for added sources --- diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index cf230094..f634423d 100644 --- a/mibuild/generic_platform.py +++ b/mibuild/generic_platform.py @@ -182,6 +182,7 @@ class GenericPlatform: language = tools.language_by_filename(filename) if language is None: language = "verilog" # default to Verilog + filename = os.path.abspath(filename) self.sources.append((filename, language)) def add_sources(self, path, *filenames, language=None):