Re: [PATCH bpf-next 11/11] samples: bpf: makefile: add sysroot support

2019-09-13 Thread Ivan Khoronzhuk
On Fri, Sep 13, 2019 at 09:45:31PM +, Yonghong Song wrote: On 9/10/19 11:38 AM, Ivan Khoronzhuk wrote: Basically it only enables that was added by previous couple fixes. For sure, just make tools/include to be included after sysroot headers. export ARCH=arm export

Re: [PATCH bpf-next 11/11] samples: bpf: makefile: add sysroot support

2019-09-13 Thread Yonghong Song
On 9/10/19 11:38 AM, Ivan Khoronzhuk wrote: > Basically it only enables that was added by previous couple fixes. > For sure, just make tools/include to be included after sysroot > headers. > > export ARCH=arm > export CROSS_COMPILE=arm-linux-gnueabihf- > make samples/bpf/

[PATCH bpf-next 11/11] samples: bpf: makefile: add sysroot support

2019-09-10 Thread Ivan Khoronzhuk
Basically it only enables that was added by previous couple fixes. For sure, just make tools/include to be included after sysroot headers. export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- make samples/bpf/ SYSROOT="path/to/sysroot" Sysroot contains correct libs installed and its headers