How to set the value of COLCON_CURRENT_PREFIX placed in setup and local_setup scripts during build?

asked 2020-08-25 15:34:01 -0500

asobhy-qnx gravatar image

when cross compiling the value of COLCON_CURRENT_PREFIX in setup and local_setup scripts is set to the installation directory on the host system, which is not correct when the files are transferred over to the target. Currently I patch those scripts after cross-compiling with the actual path of ros installation on target. It would be convenient to have it automatically set during build time by knowing the value of TARGET_INSTALL_PATH for example.

edit retag flag offensive close merge delete