Re: [PATCH] bpf: fix build for BPF preload when $(O) points to a relative path

2021-01-26 Thread Andrii Nakryiko
On Mon, Jan 25, 2021 at 7:49 AM Quentin Monnet wrote: > > Building the kernel with CONFIG_BPF_PRELOAD, and by providing a relative > path for the output directory, may fail with the following error: > > $ make O=build bindeb-pkg > ... > /.../linux/tools/scripts/Makefile.include:5: *** O=buil

Re: [PATCH] bpf: fix build for BPF preload when $(O) points to a relative path

2021-01-26 Thread Quentin Monnet
2021-01-26 11:24 UTC+ ~ Quentin Monnet > 2021-01-25 16:32 UTC-0800 ~ Andrii Nakryiko >> On Mon, Jan 25, 2021 at 7:49 AM Quentin Monnet wrote: >>> >>> Building the kernel with CONFIG_BPF_PRELOAD, and by providing a relative >>> path for the output directory, may fail with the following error:

Re: [PATCH] bpf: fix build for BPF preload when $(O) points to a relative path

2021-01-26 Thread Quentin Monnet
2021-01-25 16:32 UTC-0800 ~ Andrii Nakryiko > On Mon, Jan 25, 2021 at 7:49 AM Quentin Monnet wrote: >> >> Building the kernel with CONFIG_BPF_PRELOAD, and by providing a relative >> path for the output directory, may fail with the following error: >> >> $ make O=build bindeb-pkg >> ... >> /

[PATCH] bpf: fix build for BPF preload when $(O) points to a relative path

2021-01-25 Thread Quentin Monnet
Building the kernel with CONFIG_BPF_PRELOAD, and by providing a relative path for the output directory, may fail with the following error: $ make O=build bindeb-pkg ... /.../linux/tools/scripts/Makefile.include:5: *** O=build does not exist. Stop. make[7]: *** [/.../linux/kernel/bpf/prel