lkml.org 
[lkml]   [2022]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] samples: bpf: add CONFIG_SAMPLES_BPF
Date
Add the entry to samples/Makefile to put this into the build bot
coverage.

Signed-off-by: Rong Tao <rtoax@foxmail.com>
---
samples/Kconfig | 6 ++++++
samples/Makefile | 1 +
2 files changed, 7 insertions(+)

diff --git a/samples/Kconfig b/samples/Kconfig
index 470ee3baf2e1..f436e3616226 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -6,6 +6,12 @@ menuconfig SAMPLES

if SAMPLES

+config SAMPLE_BPF
+ bool "bpf sample"
+ depends on BPF
+ help
+ This build several bpf examples.
+
config SAMPLE_AUXDISPLAY
bool "auxdisplay sample"
depends on CC_CAN_LINK
diff --git a/samples/Makefile b/samples/Makefile
index 701e912ab5af..a15d691a6817 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -2,6 +2,7 @@
# Makefile for Linux samples code

subdir-$(CONFIG_SAMPLE_AUXDISPLAY) += auxdisplay
+subdir-$(CONFIG_SAMPLE_BPF) += bpf
subdir-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs
obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
--
2.31.1
\
 
 \ /
  Last update: 2022-09-27 15:42    [W:0.020 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site