Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp970101rwb; Tue, 27 Sep 2022 06:56:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gOo9ll1+4XjlBbh8eQcUryxfZVBSpGkVuGy/DP72BEfowZ7bidZYZ8psN9Z9LLjeF2kDG X-Received: by 2002:aa7:c610:0:b0:44e:9a0f:753a with SMTP id h16-20020aa7c610000000b0044e9a0f753amr27367618edq.140.1664287019138; Tue, 27 Sep 2022 06:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664287019; cv=none; d=google.com; s=arc-20160816; b=A1MDtcl/+KD+lT7oxQLyMcp1N1R0E59KFQ0toWbsYkDdsIR1A3Rr5RAqAt4XOrW0T2 7X4XqRUOnFF5KQtlAPPSi+MIazti8qUn+2MCDGCXENZ8EGfgM6qCRK+k7JMohldb5Qmk j1BKDrd91W9dd9pKFr4G37GWUpgAvPgfRYeCmRC/kCjmSVbxkVwqMsi4G2DkRwEhjMsG sqK/TWLTIpItY8N5O2mXmDVC/gLAGQQ9UJ+m6wFeO/DesVruIFsc1rpQ2H2GH3605ggq JsciBpd8e6aHAb3T2rw6X8o3paeoDHxsUVNMfus6hSNRuRsr1y5fgXC0NfWCnOauR43e YrfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :subject:cc:to:from:message-id:dkim-signature; bh=FFf1dHRKhXrk3PKGx9saouG6aqJXZ6yxcjdD4Cnnmd4=; b=wcVLY/ApgbV/3k4nnhO6Su8cwmUzjtGS6M1wvN2fgblJq/32uE0QxbVr6CXdIrSsIr cvu2M92TPUk6SDYcDVdI8xNiz8wWP6CLFNKGkqAJEfLeBTkdpn2Yv/Yrp40IqfPRe0be bqtcQzfyOhn1/SQv4AbMR1PvvYX3osz1Hgd0phL3tJF158XmX7ZvfTBQaP/eCPWipEI5 zP6pEiGiT5z948mj5FqPOiqLLYJ9pCTphbDvUHJrgFlWrZ1YN++amejhzXIy1knIdTMH R5C/h5N/xSuctxPAzWzqElhGjGOR5msj8W85ednPWfUv+SHp/UCWsU6S7AgjZk8y22m2 wvJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b="fgy/9PIg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb34-20020a1709071ca200b00783112d1790si1774850ejc.255.2022.09.27.06.56.32; Tue, 27 Sep 2022 06:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b="fgy/9PIg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbiI0Nl7 (ORCPT + 99 others); Tue, 27 Sep 2022 09:41:59 -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 Message-ID: X-QQ-XMAILINFO: M6WIou+qBrFGC/Uh3QoYUE0UwOdjV4WTAOVayaLj9Yjuwd5jzCPmSlV1xJZG7G kCwty5ehZ2w94OMd4dpIJFoijPsGoB7IRKrPGCb5hot6by2TsHLtKwRVJNSTQ9W35ey/4moZeCgg vn0N9S2lAOsdhH7bUhpbAwc60IX92qhuMRNZWSHhI8flanJ6dqdtZoCFpwAOGiCvzehEwZ3P0gta rgM3q5st6brv3M9qeY+zHnPOrXvA25QSy5mhiy9qlIvpgLp8SePQsfuMkZ9txlqcz4kyrL1o33Cu 5J3bVCMAJfP15z0SlD7Lp95jruLYytYBBer+AYZdwdwFx/XqN+gnbn7+gTsRONfFTeDrUT+Rfeyh 7fXnM2Sbabslmi00zIb3PlxaxSLv5POxdqyTGaREJR5RW8amIZqwmsw3DH7qJUaXKkMXljLFEPWR TNkWeA9rohkWLJvkYe9xy6PGPVL36VA6dJdqQEUtpUGzqqYzhJYArmW4DvIjNQMON36iD2k1YlOa btKj5M5+Zz6ZZT09+Iaq5rNNIAuZqdOpVHiIUXj95mbyt3kZ7pIZpU5X/4JGIWXnK8ffxg1hkxqc UsH7/GMd0XX0vO+8bGz/BHyvGicTEycgP9JPmJHNs3lwXiradQivic3QVVlkvJ1apBn7RjmT4MWA tvmhc+rMkL9DupSp6U1BQWApoJZHUJswSVP2YgnLTMJz64uDhxdbopMNpPgpT/x4TUVoSNS1KkOt bUqlieFCfhKIMcz8mHfng16JC6AfW6X72dSF5ZmXybaeq5PaPjLUoMkD8oPBJGs0zY2rMY8egYUS XpKgBUKxbKzUs1F6aXwvYgCylgfz9/DtYQYWljNZ0wGae+AmwVSBYWA6Ce3xDFau2plPbvBUiHMH GUm9mesdhvVl5wZljV8PAXuK2U8kvOWdxLB+eaNFdRBUjEVuZkxS8hd5WSp6JSwVgC6wZUfYoMiE iaR6zYnEA8L+i9HQoRbFqSeFGcLvT4ypdJvqOfQJ8TVBqAdrdQbg== From: Rong Tao To: rostedt@goodmis.org Cc: 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_NONE,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/ -- 2.31.1