commit | 518c13401e16eae1d83d6e459daf6e776a97eba9 | [log] [tgz] |
---|---|---|
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | Fri Oct 11 03:27:56 2019 +0300 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Oct 12 16:08:59 2019 -0700 |
tree | 5a01fa615853745b409592cc584b9b490cf8ed2b | |
parent | 39e0c3649f2ef5fc1beac4f6cc5f5f9ddb1885a9 [diff] |
samples/bpf: Use --target from cross-compile For cross compiling the target triple can be inherited from cross-compile prefix as it's done in CLANG_FLAGS from kernel makefile. So copy-paste this decision from kernel Makefile. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20191011002808.28206-4-ivan.khoronzhuk@linaro.org