Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1566397ybl; Mon, 2 Dec 2019 05:20:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxlR4iGzpQZ+7ycrHKvduq/nmrZfL7IFXNe+a3zlzIjkp1FrtbN4jUII52LhqCrxrvboIFQ X-Received: by 2002:a17:906:3e90:: with SMTP id a16mr78669223ejj.265.1575292857359; Mon, 02 Dec 2019 05:20:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575292857; cv=none; d=google.com; s=arc-20160816; b=mCL/jfEAHgT5mkVL4E08F5MN3WuDwPJOp/20eXuOpNi6Kda5O89DPlPGsYhwDmy7xC meCGzE/2b6VXwr3P1pERV5bBoSJW4UtY9ej2NWqLAP3cs42M+jnDjHFzFsZvlJ6Xnsr/ PMQ6q7Y/Wmmk61Wqq2OLyJgTGv/fIrLNHo9WL3NOW/2k2JhpeOxPsNL0HvVix3u4DUky dlw4TmM6HSxqf+8tTqgJwO/E4KDtzvi4+T2MQ/ISzCjTHKWw905o6s1upeSl0KJR+C6f R+/odpKxeTFV+BgCmVbL0Gk+RvGEo8TwS0oZtsjed61dRhtBBnkZaXY728C+6V5wDDOS v6ig== 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=29fp3mr7duieGxLlx5F32gVBu1ILT478Q7cv6xPw0/o=; b=RAQr5QJytwyiYjoj79XAARJgdi+MWNeuAF7LaD1bGAl35U67TEiMcP9ts7pFGShJB6 hrWWN6UboyRYqqieOstOD0Z2bkWrt2phHBsOsjcq7TY4l9vQasuYfzhCdYNrUgTA3bRp NFAC/1ppAbsNo1xQe6a2n/UPoOGWlkj5rw4VdcBvf/FMNt2gGdyHuchhv5zwDFK58X/V 2OLL8R1agiRmQSl94r8uXKOh2CFEYP5dfD/znIgGk5zOcZG+O2yUJ2tCjLbi3l2NSnvF V9gkW7dGWbkqVqj0pzG8Lhi5sEJo5hKxAgrndWBtSuagSa4fq5QAftnGxbYRO5mXFsYS F9tw== 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 f25si14901810ejq.362.2019.12.02.05.20.29; Mon, 02 Dec 2019 05:20:57 -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 S1727586AbfLBNTP convert rfc822-to-8bit (ORCPT + 99 others); Mon, 2 Dec 2019 08:19:15 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:40163 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727533AbfLBNTN (ORCPT ); Mon, 2 Dec 2019 08:19:13 -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-423-HiXvAOg6NVmOA0_z491XSw-1; Mon, 02 Dec 2019 08:19:09 -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 1E8631005510; Mon, 2 Dec 2019 13:19:07 +0000 (UTC) Received: from krava.redhat.com (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id AAC38600C8; Mon, 2 Dec 2019 13:19:03 +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 3/6] bpftool: Rename BPF_DIR Makefile variable to LIBBPF_SRC_DIR Date: Mon, 2 Dec 2019 14:18:43 +0100 Message-Id: <20191202131847.30837-4-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: HiXvAOg6NVmOA0_z491XSw-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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index be6dea7eb9fd..512504956315 100644 --- a/tools/bpf/bpftool/Makefile +++ b/tools/bpf/bpftool/Makefile @@ -29,13 +29,13 @@ else Q = @ endif -BPF_DIR = $(srctree)/tools/lib/bpf/ +LIBBPF_SRC_DIR = $(srctree)/tools/lib/bpf/ ifneq ($(OUTPUT),) LIBBPF_OUTPUT = $(OUTPUT)/libbpf/ LIBBPF_PATH = $(LIBBPF_OUTPUT) else - LIBBPF_PATH = $(BPF_DIR) + LIBBPF_PATH = $(LIBBPF_SRC_DIR) endif LIBBPF = $(LIBBPF_PATH)libbpf.a @@ -44,11 +44,11 @@ BPFTOOL_VERSION := $(shell make -rR --no-print-directory -sC ../../.. kernelvers $(LIBBPF): FORCE $(if $(LIBBPF_OUTPUT),@mkdir -p $(LIBBPF_OUTPUT)) - $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a + $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a $(LIBBPF)-clean: $(call QUIET_CLEAN, libbpf) - $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null + $(Q)$(MAKE) -C $(LIBBPF_SRC_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null prefix ?= /usr/local bash_compdir ?= /usr/share/bash-completion/completions -- 2.21.0