From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D95C3C4360C for ; Wed, 2 Oct 2019 23:14:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5DC021A4C for ; Wed, 2 Oct 2019 23:14:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qIcbNjpy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728504AbfJBXOz (ORCPT ); Wed, 2 Oct 2019 19:14:55 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41204 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbfJBXOz (ORCPT ); Wed, 2 Oct 2019 19:14:55 -0400 Received: by mail-lj1-f193.google.com with SMTP id f5so584714ljg.8 for ; Wed, 02 Oct 2019 16:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UgTt1s2t3sg0v6y3jPFKSo9NyBXHyysWlJIqH2+dS84=; b=qIcbNjpyVugWAKSNEz7Wb9fwaJn3yg3SKOMtpqYfKJBhxgMwLVl9KEhHvdMkMeTmoJ 1oj63lrsvx88r7gusVdZs7zew6pUlHiDnoiV5ZMtRHoFC42fLgnIkU/oBWFulZ7q2agY 4ceFiAPT2DPx981o/3pRdKiiF0L0sLU9fSAcdOdjY4+/KevJD/U8P21l7CSITAXb3I9x bzwlyo3BK+83/xDj7wdmLs04qzAUxisYTDtyrXwJVjOTVlkGn5CfX3F0RktGq7cR+5zy mH1urqt4dFX2YP2RbXaZcBLi19tnunwMzOkoqijq4UHuohCAGe8UGoAxug1SSTpERcFO 0jlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=UgTt1s2t3sg0v6y3jPFKSo9NyBXHyysWlJIqH2+dS84=; b=XSy0MAfYfoaUD/P2is9+PMHlodOCc7ElPh+XtmVA9/lxbNO5PjxPdG2bky492AInvj WaToN/HegcNd2v3RmFNzhLT+xyNSwXv+n2+PW8vw+LG/j/+g2RMnMTPUjETw2n83JNFi uLO9Nkrg0cnEQHcEXInHgLFFGFwZdNw9wlR5lHjysgtkYETmn14dD0VjBEAsd4CayE2W URQJ99cKU4mqRxkF9D6w6x099dSgWyDNg+EGy6oP+bbeuRAtQeSR3wJupfVNlviufuEp 7FM/Oo9mCh/KRutwuA4u7LBKjddc0PM6ctcAz1g9pO+ajV55PIrqdW2ZRe5kv12HzT8Q elXg== X-Gm-Message-State: APjAAAV1qpAiTo3DxeHroUNMii1Yi5FXA6kRxd7l+6MrQ4kY9mG2uFLC zQ7c79pGUtqt1fZZPtxDG+9SLA== X-Google-Smtp-Source: APXvYqwrl1jb/dLjiJDvGTME5xFbdtNf2mo7y+7nzW/o8zCYP9/fQoQMwGsu/qM3/g7GeDw7w6EAVQ== X-Received: by 2002:a2e:4296:: with SMTP id h22mr4098307ljf.208.1570058093003; Wed, 02 Oct 2019 16:14:53 -0700 (PDT) Received: from khorivan (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id z18sm165026ljh.17.2019.10.02.16.14.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Oct 2019 16:14:52 -0700 (PDT) Date: Thu, 3 Oct 2019 02:14:50 +0300 From: Ivan Khoronzhuk To: =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Cc: Masahiro Yamada , Networking , Alexei Starovoitov , Daniel Borkmann , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Linux Kbuild mailing list , bpf Subject: Re: [PATCH bpf] samples/bpf: kbuild: add CONFIG_SAMPLE_BPF Kconfig Message-ID: <20191002231448.GA10649@khorivan> References: <20191001101429.24965-1-bjorn.topel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Wed, Oct 02, 2019 at 09:41:15AM +0200, Björn Töpel wrote: >On Wed, 2 Oct 2019 at 03:49, Masahiro Yamada > wrote: >> >[...] >> > Yes, the BPF samples require clang/LLVM with BPF support to build. Any >> > suggestion on a good way to address this (missing tools), better than >> > the warning above? After the commit 394053f4a4b3 ("kbuild: make single >> > targets work more correctly"), it's no longer possible to build >> > samples/bpf without support in the samples/Makefile. >> >> >> You can with >> >> "make M=samples/bpf" >> > >Oh, I didn't know that. Does M= support "output" builds (O=)? > >I usually just build samples/bpf/ with: > > $ make V=1 O=/home/foo/build/bleh samples/bpf/ > > >Björn Shouldn't README be updated? -- Regards, Ivan Khoronzhuk