| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| export SHELL := /bin/bash |
| @echo "[make]: gen_sv_flist" |
| cd ${build_dir} && ${sv_flist_gen_cmd} ${sv_flist_gen_opts} |
| @echo "[make]: pre_build" |
| ifneq (${pre_build_cmds},) |
| cd ${build_dir} && ${pre_build_cmds} |
| cd ${sv_flist_gen_dir} && ${build_cmd} ${build_opts} 2>&1 | tee ${build_log} |
| @echo "[make]: post_build" |
| ifneq (${post_build_cmds},) |
| cd ${build_dir} && ${post_build_cmds} |
| @echo "[make]: build_result" |
| ${report_cmd} ${report_opts} |