Anders Roxell
1c9ca7e983
selftests: bpf: fix urandom_read build issue
gcc complains that urandom_read gets built twice.
gcc -o tools/testing/selftests/bpf/urandom_read
-static urandom_read.c -Wl,--build-id
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf
-I../../../../include/generated -I../../../include urandom_read.c
urandom_read -lcap -lelf -lrt -lpthread -o
tools/testing/selftests/bpf/urandom_read
gcc: fatal error: input file
‘tools/testing/selftests/bpf/urandom_read’ is the
same as output file
compilation terminated.
../lib.mk:110: recipe for target
'tools/testing/selftests/bpf/urandom_read' failed
To fix this issue remove the urandom_read target and so target
TEST_CUSTOM_PROGS gets used.
Fixes: 81f77fd0de ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID")
Signed-off-by: Anders Roxell <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
2018-06-11 12:55:56 +02:00
..
2017-05-03 09:51:25 -04:00
2017-11-02 11:10:55 +01:00
2018-06-03 18:22:41 -07:00
2017-11-02 11:10:55 +01:00
2018-06-03 18:22:41 -07:00
2018-05-14 19:11:45 -07:00
2018-02-26 20:11:23 -08:00
2017-11-02 11:10:55 +01:00
2018-06-03 18:22:41 -07:00
2018-06-03 18:22:41 -07:00
2018-05-18 21:39:39 +02:00
2018-03-31 02:16:14 +02:00
2018-03-31 02:16:14 +02:00
2017-11-05 23:26:51 +09:00
2018-06-08 00:10:07 +02:00
2018-06-08 00:10:07 +02:00
2018-06-11 12:55:56 +02:00
2018-01-18 22:54:26 +01:00
2017-12-03 00:27:58 +01:00
2018-05-28 17:41:05 +02:00
2018-05-28 17:41:05 +02:00
2018-03-19 21:14:39 +01:00
2018-03-19 21:14:39 +01:00
2018-03-19 21:14:39 +01:00
2018-01-25 16:41:15 -08:00
2018-01-25 16:41:15 -08:00
2018-04-18 23:34:17 +02:00
2018-02-26 20:11:23 -08:00
2018-04-19 21:47:42 +02:00
2018-04-19 21:47:42 +02:00
2018-06-02 11:22:36 -07:00
2018-02-26 20:11:23 -08:00
2018-04-29 08:45:54 -07:00
2017-04-01 12:45:57 -07:00
2018-02-08 00:24:55 +01:00
2017-12-17 20:34:36 +01:00
2017-05-01 12:43:49 -07:00
2018-02-09 00:24:38 +01:00
2018-02-09 00:25:12 +01:00
2018-05-30 12:40:14 +02:00
2018-05-30 12:40:14 +02:00
2018-05-30 12:40:14 +02:00
2018-02-26 20:11:23 -08:00
2018-02-26 20:11:23 -08:00
2018-05-24 11:57:36 +02:00
2018-05-24 11:57:36 +02:00
2018-03-19 21:14:39 +01:00
2017-06-09 15:15:11 -04:00
2018-01-25 21:23:09 -05:00
2017-05-17 18:45:14 -04:00
2017-08-07 10:06:27 -07:00
2018-05-24 18:18:20 -07:00
2018-05-28 17:41:05 +02:00
2018-04-19 00:16:37 +02:00
2018-04-19 00:16:37 +02:00
2018-05-16 22:00:12 +02:00
2018-05-16 22:00:12 +02:00
2018-05-16 22:00:12 +02:00
2018-06-02 06:13:56 +02:00
2018-04-29 08:45:54 -07:00
2018-04-29 08:45:54 -07:00
2018-02-26 20:11:23 -08:00
2017-05-03 09:51:25 -04:00
2018-02-22 01:19:37 +01:00
2018-02-26 20:11:23 -08:00
2018-01-25 16:41:15 -08:00
2017-12-12 08:46:40 -08:00
2018-04-27 00:11:14 +02:00
2018-04-27 00:11:14 +02:00
2018-02-26 20:11:23 -08:00
2018-06-07 12:37:17 -07:00
2017-09-26 13:36:44 -07:00
2018-02-06 11:34:42 +01:00
2017-12-17 20:34:36 +01:00
2017-08-08 18:12:50 -07:00
2018-02-06 11:34:42 +01:00
2017-05-02 07:52:01 -07:00
2018-05-24 18:18:20 -07:00
2018-05-24 18:18:20 -07:00
2018-05-14 23:29:45 +02:00