Forum Discussion
<--relative-vars=> Description: Causes the output file to include references relative to the specified variable or variables wherever possible. You can specify multiple variables as a comma-separated list.
Specifying --relative-vars allows the usage of ENV variables to anchor the files that are found during the traversal.
e.g.
env var:
MY_DEST_ROOT=/data/user/ip/bar
ip-make-ipx --source-directory=/data/user/ip/bar/jon --output=/tmp/out.ipx --thorough-descent --relative-vars=MY_DEST_ROOT
You will get something similar like this:
<component
name="ip"
file=${MY_DEST_ROOT}/jon/ip_hw.tcl
...>
</component>
Do take note: It is Optional to use it and if you do use --relative-vars, IP_ROOTDIR and QUARTUS_ROOTDIR is not supplied anymore, so you will not see those applied to the .iipx files unless you specify them as well.