summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-04-22 15:31:05 -0400
committerDavid S. Miller <davem@davemloft.net>2017-04-22 16:01:52 -0400
commitb0c47807d31deccdfb78a22a0d04dd9785bdb9d3 (patch)
treeca692f4934315e65ae4927eca8ccb1e4030c4836 /tools/build
parent7a12b5031c6b947cc13918237ae652b536243b76 (diff)
bpf: Add sparc support to tools and samples.
Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/feature/test-bpf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/feature/test-bpf.c b/tools/build/feature/test-bpf.c
index e04ab89a1013..ebc6dceddb58 100644
--- a/tools/build/feature/test-bpf.c
+++ b/tools/build/feature/test-bpf.c
@@ -9,6 +9,9 @@
9# define __NR_bpf 321 9# define __NR_bpf 321
10# elif defined(__aarch64__) 10# elif defined(__aarch64__)
11# define __NR_bpf 280 11# define __NR_bpf 280
12# elif defined(__sparc__)
13# define __NR_bpf 349
14# else
12# error __NR_bpf not defined. libbpf does not support your arch. 15# error __NR_bpf not defined. libbpf does not support your arch.
13# endif 16# endif
14#endif 17#endif