Re: Broken samples/bpf build? (bisected)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 1 Oct 2019 at 11:13, Björn Töpel <bjorn.topel@xxxxxxxxx> wrote:
>
> The samples/bpf/ build seems to be broken for bpf/master. I've
> bisected it to commit 394053f4a4b3 ("kbuild: make single targets work
> more correctly").
>
> I'll take a look, but if someone with better kbuild-fu already had a
> look, please let me know.
>

Setting CONFIG_SAMPLES=y and

diff --git a/samples/Makefile b/samples/Makefile
index 7d6e4ca28d69..7074d6c9da12 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -20,3 +20,4 @@ obj-$(CONFIG_SAMPLE_TRACE_PRINTK)     += trace_printk/
 obj-$(CONFIG_VIDEO_PCI_SKELETON)       += v4l/
 obj-y                                  += vfio-mdev/
 subdir-$(CONFIG_SAMPLE_VFS)            += vfs
+subdir-y                               += bpf

did the trick.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux