diff options
| author | Jean-Philippe Brucker <[email protected]> | 2021-01-13 16:33:19 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-01-14 03:05:39 +0000 |
| commit | ca1e846711a8f49382005eb5feb82973fa88a849 (patch) | |
| tree | ce749723997a65d23487071e184632dfa458865f | |
| parent | selftests/bpf: Move generated test files to $(TEST_GEN_FILES) (diff) | |
| download | kernel-ca1e846711a8f49382005eb5feb82973fa88a849.tar.gz kernel-ca1e846711a8f49382005eb5feb82973fa88a849.zip | |
selftests/bpf: Fix installation of urandom_read
For out-of-tree builds, $(TEST_CUSTOM_PROGS) require the $(OUTPUT)
prefix, otherwise the kselftest lib doesn't know how to install them:
rsync: [sender] link_stat "tools/testing/selftests/bpf/urandom_read" failed: No such file or directory (2)
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
| -rw-r--r-- | tools/testing/selftests/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index 67cdf858f01f..0fafdc022ac3 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -82,7 +82,7 @@ TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \ test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \ xdpxceiver -TEST_CUSTOM_PROGS = urandom_read +TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read # Emit succinct information message describing current building step # $1 - generic step name (e.g., CC, LINK, etc); |
