Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3132014pxv; Sun, 27 Jun 2021 20:06:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa0hkk9cx9CrFJJZx4wAA1bL8IV8BbvfDpJ0Gxhwo8oFaXLqXGxGIRj+J2PgCb3ISTwWUL X-Received: by 2002:a02:70c3:: with SMTP id f186mr20430494jac.92.1624849576844; Sun, 27 Jun 2021 20:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624849576; cv=none; d=google.com; s=arc-20160816; b=KQQg6zKvEQCWrqAKw77JR0fAUtwTHjv+MODJ6XrosbpMgje6yORHaySy9x3tWYaa0N exDpDo7cTmF7MvFrA4J+3zaWa5X4INamHhLpX8+4MIGLkTof4YZf5XmwTSPLtGFhLVr9 UuPSHMC300PJN3EqLjcdl2+kw35El/I7wQvqJDkquQCFUKh3b5GuRgR6XV88Yf9NdsL+ Av+pxHIyF0qD053cUCdbFD3RHFxswFmiOQeyZ55VMCmP1rSxN5fHK+CDHhLG71kaCxoS HasyG/eyz41Z614/ESJtl6rDDt7L7DCeIjE3Z6wJxfU0YZl8M5MZZNgpjtaovzDI7c5Q CVyQ== 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 :message-id:date:subject:cc:to:from; bh=CNVPwsVXY+iy8g/vSXCc2hXl06AaqJ3cMyo2T4oQWl0=; b=rQM7KuNXohNQaW3gS75WpNiGfYX553yPFcdZKoPs4MptSpMUF78cWyxBPJs3TMuupF kYszf6K2mkWJ72+Bqv5+X3w6AXLlg+FotDUCoab3yoOtnYSlG+ECHVqoSJTYrqwisQxF CkOMPPGhMIPLxLJtd0o2X9Zemlrgwl6wiI+K3vw2+8U7elLCkU5bm0NJHo0UBRfKXuH6 NJmbPdiD9Z49tCla4YPlAuo5Tgqv3y9zTRqH6wB3g/D0gmdMsJZ8b9qvL3qpCroulmg7 uA6Arwl4SW9gG3Y+BecBJb+s8di3g2s6YvxHMEmj/F1/JBESo+Akj98QZb50sUXdjiSb 9+EQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si19790750ilu.60.2021.06.27.20.06.04; Sun, 27 Jun 2021 20:06:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231958AbhF1DHx (ORCPT + 99 others); Sun, 27 Jun 2021 23:07:53 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:8473 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231678AbhF1DHw (ORCPT ); Sun, 27 Jun 2021 23:07:52 -0400 Received: from dggeme754-chm.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GCsph3sJ7zZfy4; Mon, 28 Jun 2021 11:02:20 +0800 (CST) Received: from localhost.localdomain (10.175.103.91) by dggeme754-chm.china.huawei.com (10.3.19.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 28 Jun 2021 11:05:24 +0800 From: Wei Li To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh CC: , , Subject: [PATCH] tools: bpf: Fix error in 'make -C tools/ bpf_install' Date: Mon, 28 Jun 2021 11:04:09 +0800 Message-ID: <20210628030409.3459095-1-liwei391@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme754-chm.china.huawei.com (10.3.19.100) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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