[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_4BD12CC4558335A1CD2C9B4B22159957D507@qq.com>
Date: Tue, 27 Sep 2022 21:41:47 +0800
From: Rong Tao <rtoax@...mail.com>
To: rostedt@...dmis.org
Cc: Rong Tao <rtoax@...mail.com>, Jan Kara <jack@...e.cz>,
Heiko Carstens <hca@...ux.ibm.com>,
Gabriel Krisman Bertazi <krisman@...labora.com>,
Alexei Starovoitov <ast@...nel.org>,
Mike Leach <mike.leach@...aro.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-kernel@...r.kernel.org (open list),
bpf@...r.kernel.org (open list:BPF [MISC])
Subject: [PATCH] samples: bpf: add CONFIG_SAMPLES_BPF
Add the entry to samples/Makefile to put this into the build bot
coverage.
Signed-off-by: Rong Tao <rtoax@...mail.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
Powered by blists - more mailing lists