diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2018-09-03 22:50:03 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2018-09-03 23:11:26 +1000 |
commit | c1c13f3b3e14a392fbfbb63add2d55aa642f6018 (patch) | |
tree | c15605b695f68208ed9939c042135fcf1a5f3496 /icebram | |
parent | 3681ade2c7bfb2e4befee1ff6909608752f91d92 (diff) | |
download | icestorm-c1c13f3b3e14a392fbfbb63add2d55aa642f6018.tar.gz icestorm-c1c13f3b3e14a392fbfbb63add2d55aa642f6018.tar.bz2 icestorm-c1c13f3b3e14a392fbfbb63add2d55aa642f6018.zip |
icetime: Add support for searching for chipdb relative to binary
Like yosys and arachne-pnr, allow for searching for the desired chipdb
file relative to the executing binaries directory. This allows for
portable builds of icetime without needing to specify the exact path to
the needed chipdb file with the -C arg.
In order to support this icetime must be able to get the
"proc_self_dirname" path just like yosys and arachne-pnr. As such copy
the equivalent code to get this path information. To avoid cluttering
the icetime.cc file with this code, place it in a separate iceutil.cc
file.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'icebram')
0 files changed, 0 insertions, 0 deletions