Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Leon Romanovsky
On Tue, Dec 01, 2020 at 01:44:46PM -0800, Andrii Nakryiko wrote: > On Tue, Dec 1, 2020 at 11:32 AM Leon Romanovsky wrote: > > > > On Tue, Dec 01, 2020 at 10:01:23AM -0800, Andrii Nakryiko wrote: > > > On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > > > > > > > From: Leon Romanovsky >

Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Andrii Nakryiko
On Tue, Dec 1, 2020 at 11:32 AM Leon Romanovsky wrote: > > On Tue, Dec 01, 2020 at 10:01:23AM -0800, Andrii Nakryiko wrote: > > On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > > > > > From: Leon Romanovsky > > > > > > The out-of-tree modules are built without vmlinux target and

Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Leon Romanovsky
On Tue, Dec 01, 2020 at 10:01:23AM -0800, Andrii Nakryiko wrote: > On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > > > From: Leon Romanovsky > > > > The out-of-tree modules are built without vmlinux target and request > > to recompile that target unconditionally causes to the following

Re: [PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Andrii Nakryiko
On Tue, Dec 1, 2020 at 6:37 AM Leon Romanovsky wrote: > > From: Leon Romanovsky > > The out-of-tree modules are built without vmlinux target and request > to recompile that target unconditionally causes to the following > compilation error. > > [root@server kernel]# make > <..> > make -f

[PATCH bpf-next] kbuild: Restore ability to build out-of-tree modules

2020-12-01 Thread Leon Romanovsky
From: Leon Romanovsky The out-of-tree modules are built without vmlinux target and request to recompile that target unconditionally causes to the following compilation error. [root@server kernel]# make <..> make -f ./scripts/Makefile.modpost make -f ./scripts/Makefile.modfinal make[3]: *** No