Skip to content

Commit

Permalink
swlink/build: Correct processing of default trace_option value
Browse files Browse the repository at this point in the history
  • Loading branch information
sidprice committed Aug 31, 2024
1 parent 183c677 commit 6a2b8cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platforms/swlink/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ probe_swlink_link_args = [
]

trace_protocol = get_option('trace_protocol')
if trace_protocol == '3'
trace_protocol = '2'
endif
if trace_protocol == '2'
probe_swlink_args += '-DTRACESWO_PROTOCOL=2'
else
Expand Down

0 comments on commit 6a2b8cb

Please sign in to comment.