Re: [RFC PATCH] bpf: preload: Fix build error when O= is set

2020-12-16 Thread Quentin Monnet
2020-11-21 17:48 UTC+0800 ~ David Gow > On Sat, Nov 21, 2020 at 3:38 PM Andrii Nakryiko > wrote: >> >> On Thu, Nov 19, 2020 at 12:51 AM David Gow wrote: >>> >>> If BPF_PRELOAD is enabled, and an out-of-tree build is requested with >>> make O=, compilation seems to fail with: >>> >>> tools/script

Re: [RFC PATCH] bpf: preload: Fix build error when O= is set

2020-11-20 Thread Andrii Nakryiko
On Thu, Nov 19, 2020 at 12:51 AM David Gow wrote: > > If BPF_PRELOAD is enabled, and an out-of-tree build is requested with > make O=, compilation seems to fail with: > > tools/scripts/Makefile.include:4: *** O=.kunit does not exist. Stop. > make[4]: *** [../kernel/bpf/preload/Makefile:8: kernel/