selftests/bpf: compile progs with -D__TARGET_ARCH_$(SRCARCH)
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 11 Jul 2019 14:29:27 +0000 (16:29 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 12 Jul 2019 13:38:04 +0000 (15:38 +0200)
commit748e50c1c13d33dffcdca66f0b1cb3d96d17fe31
treebc1699ec2514cb624b62155d6fe6d242b971c767
parent9cae4ace80ef39005da106fbb89c952b27d7b89e
selftests/bpf: compile progs with -D__TARGET_ARCH_$(SRCARCH)

This opens up the possibility of accessing registers in an
arch-independent way.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile