Re: [PATCH bpf 2/2] libbpf: force fixdep compilation at the start of the build

2019-03-06 Thread Y Song
On Wed, Mar 6, 2019 at 1:14 PM Stanislav Fomichev wrote: > > libbpf targets don't explicitly depend on fixdep target, so when > we do 'make -j$(nproc)', there is a high probability, that some > objects will be built before fixdep binary is available. > > Fix this by running sub-make; this makes su

[PATCH bpf 2/2] libbpf: force fixdep compilation at the start of the build

2019-03-06 Thread Stanislav Fomichev
libbpf targets don't explicitly depend on fixdep target, so when we do 'make -j$(nproc)', there is a high probability, that some objects will be built before fixdep binary is available. Fix this by running sub-make; this makes sure that fixdep dependency is properly accounted for. For the same is