diff options
author | Ilya Leoshkevich | 2019-07-15 11:11:03 +0200 |
---|---|---|
committer | Daniel Borkmann | 2019-07-15 23:13:17 +0200 |
commit | 81f522f96f788ba978f505d5a03a039f75360b8b (patch) | |
tree | 9d37ab0d210254906f978466162a4381ca75e9d8 /samples/Kconfig | |
parent | selftests/bpf: put test_stub.o into $(OUTPUT) (diff) | |
download | kernel-qcow2-linux-81f522f96f788ba978f505d5a03a039f75360b8b.tar.gz kernel-qcow2-linux-81f522f96f788ba978f505d5a03a039f75360b8b.tar.xz kernel-qcow2-linux-81f522f96f788ba978f505d5a03a039f75360b8b.zip |
samples/bpf: build with -D__TARGET_ARCH_$(SRCARCH)
While $ARCH can be relatively flexible (see Makefile and
tools/scripts/Makefile.arch), $SRCARCH always corresponds to a directory
name under arch/.
Therefore, build samples with -D__TARGET_ARCH_$(SRCARCH), since that
matches the expectations of bpf_helpers.h.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions