diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2019-10-11 03:28:01 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-12 16:08:59 -0700 |
commit | 1d97c6c2511f10e19f683a4431e8ee887c1daab6 (patch) | |
tree | c1bb13eee5797e63abf8990cd0c41a43c6d8baf6 /samples/vfs | |
parent | 752677e89fca11fd6e239df2fb9877b9e6b83ab2 (diff) | |
download | linux-1d97c6c2511f10e19f683a4431e8ee887c1daab6.tar.gz linux-1d97c6c2511f10e19f683a4431e8ee887c1daab6.tar.bz2 linux-1d97c6c2511f10e19f683a4431e8ee887c1daab6.zip |
samples/bpf: Base target programs rules on Makefile.target
The main reason for that - HOSTCC and CC have different aims.
HOSTCC is used to build programs running on host, that can
cross-comple target programs with CC. It was tested for arm and arm64
cross compilation, based on linaro toolchain, but should work for
others.
So, in order to split cross compilation (CC) with host build (HOSTCC),
lets base samples on Makefile.target. It allows to cross-compile
samples/bpf programs with CC while auxialry tools running on host
built with HOSTCC.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191011002808.28206-9-ivan.khoronzhuk@linaro.org
Diffstat (limited to 'samples/vfs')
0 files changed, 0 insertions, 0 deletions