selftests/bpf: Fix pkg-config call building sign-file
authorJeremy Sowden <jeremy@azazel.net>
Wed, 26 Apr 2023 21:50:32 +0000 (22:50 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 14 May 2023 21:59:44 +0000 (14:59 -0700)
commit5f5486b620cd43b16a1787ef92b9bc21bd72ef2e
tree9b07f937fe1da7fbdd04d3a26099cc22459c4a89
parentb41caaded077aa8e7617c15e87d0503df8e7739e
selftests/bpf: Fix pkg-config call building sign-file

When building sign-file, the call to get the CFLAGS for libcrypto is
missing white-space between `pkg-config` and `--cflags`:

  $(shell $(HOSTPKG_CONFIG)--cflags libcrypto 2> /dev/null)

Removing the redirection of stderr, we see:

  $ make -C tools/testing/selftests/bpf sign-file
  make: Entering directory '[...]/tools/testing/selftests/bpf'
  make: pkg-config--cflags: No such file or directory
    SIGN-FILE sign-file
  make: Leaving directory '[...]/tools/testing/selftests/bpf'

Add the missing space.

Fixes: fc97590668ae ("selftests/bpf: Add test for bpf_verify_pkcs7_signature() kfunc")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Roberto Sassu <roberto.sassu@huawei.com>
Link: https://lore.kernel.org/bpf/20230426215032.415792-1-jeremy@azazel.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile