Re: [PATCH v3 bpf-next 07/14] samples: bpf: add makefile.target for separate CC target build

2019-09-18 Thread Andrii Nakryiko
On Wed, Sep 18, 2019 at 3:12 AM Ivan Khoronzhuk wrote: > > On Tue, Sep 17, 2019 at 04:19:40PM -0700, Andrii Nakryiko wrote: > >On Mon, Sep 16, 2019 at 3:58 AM Ivan Khoronzhuk > > wrote: > >> > >> The makefile.target is added only and will be used in > > > >typo: Makefile > > > >> sample/bpf/Makefi

Re: [PATCH v3 bpf-next 07/14] samples: bpf: add makefile.target for separate CC target build

2019-09-18 Thread Ivan Khoronzhuk
On Tue, Sep 17, 2019 at 04:19:40PM -0700, Andrii Nakryiko wrote: On Mon, Sep 16, 2019 at 3:58 AM Ivan Khoronzhuk wrote: The makefile.target is added only and will be used in typo: Makefile sample/bpf/Makefile later in order to switch cross-compiling on CC on -> to from HOSTCC environme

Re: [PATCH v3 bpf-next 07/14] samples: bpf: add makefile.target for separate CC target build

2019-09-17 Thread Andrii Nakryiko
On Mon, Sep 16, 2019 at 3:58 AM Ivan Khoronzhuk wrote: > > The makefile.target is added only and will be used in typo: Makefile > sample/bpf/Makefile later in order to switch cross-compiling on CC on -> to > from HOSTCC environment. > > The HOSTCC is supposed to build binaries and tools runnin

[PATCH v3 bpf-next 07/14] samples: bpf: add makefile.target for separate CC target build

2019-09-16 Thread Ivan Khoronzhuk
The makefile.target is added only and will be used in sample/bpf/Makefile later in order to switch cross-compiling on CC from HOSTCC environment. The HOSTCC is supposed to build binaries and tools running on the host afterwards, in order to simplify build or so, like "fixdep" or else. In case of c