--linkhook オプション - 2020.1 Japanese

Vitis 統合ソフトウェア プラットフォームの資料: アプリケーション アクセラレーション開発 (UG1393)

Document ID
UG1393
Release Date
2020-08-20
Version
2020.1 Japanese

--linkhook.XXX オプションは、Vitis リンク プロセスの特定の時点で実行する Tcl スクリプトを指定します。

--linkhook.custom

--linkhook.custom <arg>

<arg><step name, path to script file> のように指定します。

内部段階の工場定義の時点で実行する Tcl スクリプトを指定します。スクリプトへのパスは、絶対パスまたはビルド ディレクトリへの相対パスで指定できます。

次に例を示します。
v++ -l --linkhook.custom step,runScript.tcl

-linkhook.do_first

--linkhook.do_first <arg>

<arg><step name, path to script file> のように指定します。

指定した段階の前に実行する Tcl スクリプトを指定します。スクリプトへのパスは、絶対パスまたはビルド ディレクトリへの相対パスで指定できます。

次に例を示します。
v++ -l --linkhook.do_first step,runScript.tcl

-linkhook.do_last

--linkhook.do_last <arg>

<arg><step name, path to script file> のように指定します。

指定した段階が終了した直後に実行する Tcl スクリプトを指定します。スクリプトへのパスは、絶対パスまたはビルド ディレクトリへの相対パスで指定できます。

次に例を示します。
v++ -l --linkhook.do_last step,runScript.tcl

-linkhook.list_steps

--linkhook.list_steps

--target を使用して指定したターゲットでスクリプト フックをサポートする実行段階をリストします。カスタム工場定義フックもリストします。

次に例を示します。
v++ -l --linkhook.list_steps