Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5930859pxv; Wed, 7 Jul 2021 15:22:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEwY2KRu9wHXzuNhMQmqQ2MMyMxacPXhhF+tO2uuav+9/WrqsDKQMjMWEVlL7uqfvPSxrK X-Received: by 2002:a02:9706:: with SMTP id x6mr23816424jai.125.1625696573496; Wed, 07 Jul 2021 15:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625696573; cv=none; d=google.com; s=arc-20160816; b=bzkjrigVFTgrqTbF/MijaH61PNaASwehbk6mH5kOybXDzWARS1IGJpwaqcXBZyFaxZ c8HagsRkeagpm8zByoERaWMGIixykwd8giDYyveXiCE094QLiVmFrF9c30iWFVp5T+5S mfxh/QTarxrDnUE0eRovV7zdPbBruDtgMF5qfs2q/dIQtYc562YLHN5GkArkrsrgwqiK 4iB41HJpm0h2KgUD1qLcpogXbVM9crOmwJwvRO0eDOqssj5qnRKGWSUeb00aKxFk1UY2 lEomEdmOC0XH9YqzxnW9KXf9y51MlDgCPTNaZU5vDYQOkXIyjgAl63J6mmfgGxp/LwX1 2EnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C6vaHBHLQ86nv6gCW9Andn0w14vFdfobqp0Pc0UDu7g=; b=IsBgTrlBU70C194oXvnBHQm8bn7cmRR45pnY6zFy+PbmMUwHhzVk6NnuwBiuI6dtY6 KG/FcRyXDDqSfEW9aXsmtknvS1Zd2BvOF2HzD4o7oJbJwuTlgmU/ZIzdHz9sVy7T7FS9 CSzrJH9zelt/pGbEDlZuIQ3m4tk6Eez7gO2cxQbLHQqyLTQZjHJIl4Gef7GMdTvPgf/O PAHcTn57ybiE+T2353psuUT0KuB9thNIneVyU4BKnQzum73Wj8UI7i+uJ3IkoEmgz1Cc m0QCX9BWgAY+Bw9VzwVfGqcafjTFdeIygqhx3x1t3dvGgcLDopGH9KK/0O0OCRamedGR KyGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=egeJOdiS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si146988ioi.76.2021.07.07.15.22.42; Wed, 07 Jul 2021 15:22:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=egeJOdiS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232572AbhGGVMF (ORCPT + 99 others); Wed, 7 Jul 2021 17:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbhGGVME (ORCPT ); Wed, 7 Jul 2021 17:12:04 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCFA7C061574; Wed, 7 Jul 2021 14:09:22 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id p22so5360504yba.7; Wed, 07 Jul 2021 14:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C6vaHBHLQ86nv6gCW9Andn0w14vFdfobqp0Pc0UDu7g=; b=egeJOdiS1vrfomZ+oMB4HS8c1VABojS9QAJiFcnVFyHm42ra3DRf2VougZTtyH/Xmj 3LkqmIG4NKy+xJ/KK+rYnOE0FgJAXhZoUEW+jsmfMHseahyGFb8cxvbLm7qKGtqw2j8X JySzo+/1KPPtVguCY31F55HweunD42armKx1ga3vOy+OohLrxORzpT96NZlJDvY7Ue8O Thz0dL55i9tiqeGdqPj3k6zrK1MUXEV1drMFS2jwl6UG57smFZAmywu7+ui8o+iZrL6G ZhNsJuriS/croPUYt/wLevj+L+QojzKhjZYCwKyjpy2m4VuYGsJ9ILc3G+Q69HdVwv4o AgtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C6vaHBHLQ86nv6gCW9Andn0w14vFdfobqp0Pc0UDu7g=; b=kQ8mMC0q8UKUjY1LTdZ2GFZPbS4HMsDgDuqAZJU72Kq4ZrsMSIkIU6CpRWtAHd13VF 5Gp35dNncfGRjjx3awkuri+AAoUN0Li0SJ7RFkS885EwMaxjqVAr+16lrCgadpx1DGv+ RzWMcw/QckON10otiTfPWV71sAsOMMtreUDfLC32CRPk5Ajshnf7c2MPfJhHorE/pB6w 2zRQ18wxTI1foGXr5DNUFfemoBANnDWVsrC9+Zm9u8DES/1W7ZOzv/BOHxCyXaQOpddi Bjzu2b4oKcvbb7H9ir85GSH4dYqJ6QSjCKUqDVkCoeSjgoVGUdtMOhK7Pc1dY2h/ftm+ tTGw== X-Gm-Message-State: AOAM532iw63s9h1fppyDvzGajekMr8opgxFQNpwq2fIEt1hRsfmbC1QN BXvDdWytKYe8jBkS9X35YM47b6mW1qqG4XvE8jE= X-Received: by 2002:a25:1ec4:: with SMTP id e187mr34222347ybe.425.1625692161956; Wed, 07 Jul 2021 14:09:21 -0700 (PDT) MIME-Version: 1.0 References: <20210628030409.3459095-1-liwei391@huawei.com> In-Reply-To: <20210628030409.3459095-1-liwei391@huawei.com> From: Andrii Nakryiko Date: Wed, 7 Jul 2021 14:09:11 -0700 Message-ID: Subject: Re: [PATCH] tools: bpf: Fix error in 'make -C tools/ bpf_install' To: Wei Li Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , bpf , open list , huawei.libin@huawei.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 27, 2021 at 8:05 PM Wei Li wrote: > > make[2]: *** No rule to make target 'install'. Stop. > make[1]: *** [Makefile:122: runqslower_install] Error 2 > make: *** [Makefile:116: bpf_install] Error 2 > > There is no rule for target 'install' in tools/bpf/runqslower/Makefile, > and there is no need to install it, so just remove 'runqslower_install'. > > Fixes: 9c01546d26d2 ("tools/bpf: Add runqslower tool to tools/bpf") > Signed-off-by: Wei Li > --- Applied to bpf tree, thanks. Technically runqslower could be installed, but it's better to leave that to libbpf-tools ([0]), which distributes runqslower along other BPF-based tools. [0] https://github.com/iovisor/bcc/tree/master/libbpf-tools > tools/bpf/Makefile | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile > index 39bb322707b4..b11cfc86a3d0 100644 > --- a/tools/bpf/Makefile > +++ b/tools/bpf/Makefile > @@ -97,7 +97,7 @@ clean: bpftool_clean runqslower_clean resolve_btfids_clean > $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpf > $(Q)$(RM) -r -- $(OUTPUT)feature > > -install: $(PROGS) bpftool_install runqslower_install > +install: $(PROGS) bpftool_install > $(call QUIET_INSTALL, bpf_jit_disasm) > $(Q)$(INSTALL) -m 0755 -d $(DESTDIR)$(prefix)/bin > $(Q)$(INSTALL) $(OUTPUT)bpf_jit_disasm $(DESTDIR)$(prefix)/bin/bpf_jit_disasm > @@ -118,9 +118,6 @@ bpftool_clean: > runqslower: > $(call descend,runqslower) > > -runqslower_install: > - $(call descend,runqslower,install) > - > runqslower_clean: > $(call descend,runqslower,clean) > > @@ -131,5 +128,5 @@ resolve_btfids_clean: > $(call descend,resolve_btfids,clean) > > .PHONY: all install clean bpftool bpftool_install bpftool_clean \ > - runqslower runqslower_install runqslower_clean \ > + runqslower runqslower_clean \ > resolve_btfids resolve_btfids_clean > -- > 2.25.1 >