Skip to content

Commit

Permalink
lib/libopencm3: silence make directory messages
Browse files Browse the repository at this point in the history
This made use of the make command stdout, the directory messages produces by make cause erroneous behaviour
  • Loading branch information
perigoso authored and rg-silva committed Jun 30, 2023
1 parent 621c8fd commit 2deb9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/packagefiles/libopencm3/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ libopencm3_project = external_project.add_project('configure',

# Get all targets/libraries supported by libopencm3
make = find_program('make')
libopencm3_targets = run_command(make, '-C', meson.current_source_dir(), 'list-targets', check: true).stdout().split(' ')
libopencm3_targets = run_command(make, '--no-print-directory', '-C', meson.current_source_dir(), 'list-targets', check: true).stdout().split(' ')

message('libopencm3 targets: @0@'.format(', '.join(libopencm3_targets)))

Expand Down

0 comments on commit 2deb9e9

Please sign in to comment.