]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/hexagon: Only indent on linux
authorAnton Johansson <anjo@rev.ng>
Wed, 2 Apr 2025 11:42:59 +0000 (13:42 +0200)
committerBrian Cain <brian.cain@oss.qualcomm.com>
Fri, 17 Oct 2025 20:45:46 +0000 (13:45 -0700)
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>
target/hexagon/meson.build

index abcf00ca1f69e1b219bc93927dd0bb37d99c6198..d26787a9b948e24a701609796f6074fd72257739 100644 (file)
@@ -324,7 +324,7 @@ if idef_parser_enabled and 'hexagon-linux-user' in target_dirs
     )
 
     indent = find_program('indent', required: false)
-    if indent.found()
+    if indent.found() and host_os == 'linux'
         idef_generated_tcg_c = custom_target(
             'indent',
             input: idef_generated_tcg[0],