diff options
author | Tony Ambardar <tony.ambardar@gmail.com> | 2024-09-16 01:37:47 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-03 17:47:36 -0700 |
commit | 5a63c33d6f00e1739944cea2f445819951610c7d (patch) | |
tree | 45ba55b3f8140b0661b93110add8ee0b62e342a7 /scripts/bpf_doc.py | |
parent | 8ca3323dce43792b6a7bbbc3314fc2a281d3af92 (diff) | |
download | lwn-5a63c33d6f00e1739944cea2f445819951610c7d.tar.gz lwn-5a63c33d6f00e1739944cea2f445819951610c7d.zip |
selftests/bpf: Support cross-endian building
Update Makefile build rules to compile BPF programs with target endianness
rather than host byte-order. With recent changes, this allows building the
full selftests/bpf suite hosted on x86_64 and targeting s390x or mips64eb
for example.
Signed-off-by: Tony Ambardar <tony.ambardar@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/880ccc6342cfc4d3c48b44f581e87adfbce2876e.1726475448.git.tony.ambardar@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions