Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1570258ybl; Mon, 2 Dec 2019 05:23:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxkQl225nGQ4ztz5DjR4CCEc4cifANWK3UdRhNQJxPCVDUPdG4VdoAYv85nBlGdQtK/anHz X-Received: by 2002:a17:906:3ec2:: with SMTP id d2mr80166850ejj.251.1575293033914; Mon, 02 Dec 2019 05:23:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575293033; cv=none; d=google.com; s=arc-20160816; b=iNMyHKJTRBw1048ougQtiGJouA+OmcH356DONoW0lyGOGLBlmOYbUzeYRfzleBkaOn kuUkSNfawe5qoeF90yCAwjZ2+bTrdGQ0QGDFqjsTU3uo0sVHz2ZTZorLoMaeRFY25bl1 lGZR9UBNyPvKPOUhwYs0bZWylBLDs3gDLwY3zy52jRT0lgWo/9F6t41tuEtXZq8kEGA7 RoSOXPnSZfJe3wkOG76cij7jtF+1g2VUX3sITdFLZ5r8NMztb7/XfyAT8FGr9QizHuAE UiMmXeLvBEeTUMVP1i751mdF0hhPOA2fA9sKc9iDY7XX+BtM4M2/WZY2fpNBJOrAnnJ3 KRzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9q5qo4awvVzHe+y+w3Z34v3bMzipZnVyHjGPkgITlHc=; b=cbk2m+EGF9UD++g1Z1cCfWTWTh6TOnRdSPZGLPNxGAfUtlgEdU5qVmVgr6toQeiP2n ywJio3mOpsJ92Ae4AqnDf9bRbqXdzvVFJzYr5jNS4EfO8KZ0lczyWLaZxgGiRFow+fuq nbmAGeFnwIcnUs277cMKKtarYDdQDjSVjKt+l8dK7Ebmz5KIto1bfnIBxgm/fP3ozhTd 0h9/g3GwVn/5VR/oWGMXWNc/AWOOW0spEYXSwQPzP0vylTEXosSSXLzu2+JlzWk/Yc1t DN4iLeQ0yt8e+t3iqOcXKjsQYap2c7cnzp/chzYqyMJCrmaGu3ucBsmDSzMGXq40Xj74 inpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si926604edr.315.2019.12.02.05.23.28; Mon, 02 Dec 2019 05:23:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727608AbfLBNTZ convert rfc822-to-8bit (ORCPT + 99 others); Mon, 2 Dec 2019 08:19:25 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50112 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727533AbfLBNTV (ORCPT ); Mon, 2 Dec 2019 08:19:21 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-L6YVGIzUOva0u-xKKMLsHA-1; Mon, 02 Dec 2019 08:19:18 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 68ED3107ACC7; Mon, 2 Dec 2019 13:19:15 +0000 (UTC) Received: from krava.redhat.com (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 73473600C8; Mon, 2 Dec 2019 13:19:07 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , netdev@vger.kernel.org, bpf@vger.kernel.org, Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= , Jesper Dangaard Brouer , Daniel Borkmann , Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , Quentin Monnet Subject: [PATCH 4/6] bpftool: Rename LIBBPF_OUTPUT Makefile variable to LIBBPF_BUILD_OUTPUT Date: Mon, 2 Dec 2019 14:18:44 +0100 Message-Id: <20191202131847.30837-5-jolsa@kernel.org> In-Reply-To: <20191202131847.30837-1-jolsa@kernel.org> References: <20191202131847.30837-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: L6YVGIzUOva0u-xKKMLsHA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To properly describe the usage of the variable. Signed-off-by: Jiri Olsa --- tools/bpf/bpftool/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index 512504956315..38f831750ffe 100644 --- a/tools/bpf/bpftool/Makefile +++ b/tools/bpf/bpftool/Makefile @@ -32,8 +32,8 @@ endif LIBBPF_SRC_DIR = $(srctree)/tools/lib/bpf/ ifneq ($(OUTPUT),) - LIBBPF_OUTPUT = $(OUTPUT)/libbpf/ - LIBBPF_PATH = $(LIBBPF_OUTPUT) + LIBBPF_BUILD_OUTPUT = $(OUTPUT)/libbpf/ + LIBBPF_PATH = $(LIBBPF_BUILD_OUTPUT) else LIBBPF_PATH = $(LIBBPF_SRC_DIR) endif @@ -43,12 +43,12 @@ LIBBPF = $(LIBBPF_PATH)libbpf.a BPFTOOL_VERSION := $(shell make -rR --no-print-directory -sC ../../.. kernelversion) $(LIBBPF): FORCE - $(if $(LIBBPF_OUTPUT),@mkdir -p $(LIBBPF_OUTPUT)) - $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a + $(if $(LIBBPF_BUILD_OUTPUT),@mkdir -p $(LIBBPF_BUILD_OUTPUT)) + $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_BUILD_OUTPUT) $(LIBBPF_BUILD_OUTPUT)libbpf.a $(LIBBPF)-clean: $(call QUIET_CLEAN, libbpf) - $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null + $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_BUILD_OUTPUT) clean >/dev/null prefix ?= /usr/local bash_compdir ?= /usr/share/bash-completion/completions -- 2.21.0