aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples/kfifo
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2019-10-11 03:28:01 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-10-12 16:08:59 -0700
commit1d97c6c2511f10e19f683a4431e8ee887c1daab6 (patch)
treec1bb13eee5797e63abf8990cd0c41a43c6d8baf6 /samples/kfifo
parentsamples/bpf: Add makefile.target for separate CC target build (diff)
downloadwireguard-linux-1d97c6c2511f10e19f683a4431e8ee887c1daab6.tar.xz
wireguard-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/kfifo')
0 files changed, 0 insertions, 0 deletions