All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] samples: bpf: add CONFIG_SAMPLES_BPF
@ 2022-09-27 13:41 Rong Tao
  0 siblings, 0 replies; only message in thread
From: Rong Tao @ 2022-09-27 13:41 UTC (permalink / raw)
  To: rostedt
  Cc: Rong Tao, Jan Kara, Heiko Carstens, Gabriel Krisman Bertazi,
	Alexei Starovoitov, Mike Leach, Masami Hiramatsu,
	Mathieu Poirier, open list, open list:BPF [MISC]

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-27 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:41 [PATCH] samples: bpf: add CONFIG_SAMPLES_BPF Rong Tao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.