diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2019-10-11 02:28:01 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-13 01:08:59 +0200 |
commit | 1d97c6c2511f10e19f683a4431e8ee887c1daab6 (patch) | |
tree | c1bb13eee5797e63abf8990cd0c41a43c6d8baf6 /arch/arm/mach-bcm/bcm_kona_smc.c | |
parent | samples/bpf: Add makefile.target for separate CC target build (diff) | |
download | linux-1d97c6c2511f10e19f683a4431e8ee887c1daab6.tar.xz 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 'arch/arm/mach-bcm/bcm_kona_smc.c')
0 files changed, 0 insertions, 0 deletions