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 bb9dfa6 commit d6bf7db
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 d6bf7db

Please sign in to comment.