From patchwork Tue Sep 27 13:41:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 12990628 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC74DC07E9D for ; Tue, 27 Sep 2022 13:41:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbiI0Nl6 (ORCPT ); Tue, 27 Sep 2022 09:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbiI0Nl5 (ORCPT ); Tue, 27 Sep 2022 09:41:57 -0400 Received: from out203-205-221-242.mail.qq.com (out203-205-221-242.mail.qq.com [203.205.221.242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9828C80496; Tue, 27 Sep 2022 06:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1664286113; bh=FFf1dHRKhXrk3PKGx9saouG6aqJXZ6yxcjdD4Cnnmd4=; h=From:To:Cc:Subject:Date; b=fgy/9PIgVjbtaAckRGcJrVryjJYPFzMjgsy+x5cai/ahx3ENTpBMEiymK/EOX2//e sHDh5iHekQwx93f9laob0vpx5c3/qjwqhcbjMoMuBzC8qoUpfnq+0ruM6qAOacRF6q RjhAWO+h7pQHBIh77C6W9y20c9BU0zELyM2qP1bc= Received: from localhost.localdomain ([111.199.187.40]) by newxmesmtplogicsvrsza30.qq.com (NewEsmtp) with SMTP id A71BFC6D; Tue, 27 Sep 2022 21:41:49 +0800 X-QQ-mid: xmsmtpt1664286109tkdbqhgo3 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c: Rong Tao , Jan Kara , Heiko Carstens , Gabriel Krisman Bertazi , Alexei Starovoitov , Mike Leach , Masami Hiramatsu , Mathieu Poirier , linux-kernel@vger.kernel.org (open list), bpf@vger.kernel.org (open list:BPF [MISC]) Subject: [PATCH] samples: bpf: add CONFIG_SAMPLES_BPF Date: Tue, 27 Sep 2022 21:41:47 +0800 X-OQ-MSGID: <20220927134148.17503-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Add the entry to samples/Makefile to put this into the build bot coverage. Signed-off-by: Rong Tao --- 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/