On 12/19/2018 09:08 PM, Ivan Babrou wrote: > This allows transparent cross-compilation with CROSS_COMPILE. > > Signed-off-by: Ivan Babrou <i...@cloudflare.com>
Looks good, applied! So we basically piggy back on 7ed1c1901fe5 ("tools: fix cross-compile var clobbering") which moved everything to the tools/scripts/Makefile.include which bpftool includes. Could we then also reduce tools/lib/bpf/Makefile as well for cross-compilation? Looks like this has bunch of duplicate logic and yet we pull in the Makefile.include as well there. Thanks, Daniel