target/hexagon: Only indent on linux
indent on macOS, installed via homebrew, doesn't support -linux. Only run indent on linux hosts. Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
This commit is contained in:
parent
e01046a140
commit
f97700e075
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ if idef_parser_enabled and 'hexagon-linux-user' in target_dirs
|
||||||
)
|
)
|
||||||
|
|
||||||
indent = find_program('indent', required: false)
|
indent = find_program('indent', required: false)
|
||||||
if indent.found()
|
if indent.found() and host_os == 'linux'
|
||||||
idef_generated_tcg_c = custom_target(
|
idef_generated_tcg_c = custom_target(
|
||||||
'indent',
|
'indent',
|
||||||
input: idef_generated_tcg[0],
|
input: idef_generated_tcg[0],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue