Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp787281rdb; Thu, 18 Jan 2024 21:16:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWP34EcxTlgu0p8ydpsE79vbipYS7sW4C8Nq2WRu2P0JyJwg26uMa6wkOiym6vlmMyEIYo X-Received: by 2002:a05:6a20:c210:b0:19b:85a5:c1df with SMTP id bt16-20020a056a20c21000b0019b85a5c1dfmr1355225pzb.74.1705641413387; Thu, 18 Jan 2024 21:16:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705641413; cv=pass; d=google.com; s=arc-20160816; b=f7mul/jT6m7eJPLQ29T/Zd1RN4InPMrmeMuRND69heSXkPoLDGtM1dmfr9W2mUyvg2 zj1h2WB76pSZ93UE09xeHZBdQYIeFVKQwVzxDua9NewQ63Sdhd9y7m8fM5WG/Sqi4sz0 fcUf3ESl7nF2oTCsSBO69yso9XMZHeIdMvhF3WIn6WxeEcnnr9lX7YccMYv4r50ZGVyW Io/H/n/wJk+pdn4oNYhENpczL4mSu3lyRbPZdQcXU29DUEXAFYwcvtdQMpEK0QMsIv/P AhAUJaiR+XTNP8wF6bW1BXTosLmeT2smTI85UAg6wqwrfacu78AoFGk2+dS61sWCvz1u 9wgg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=cbdcNYh3PJs4LxluryfXeC8R/9613mcJgDoLdh3Fh40=; fh=akBBjRYUKdyyhNQNURzHJvV5yQ6lGKVN4LRxd4QL+Zw=; b=qwErcAr25K04NCz4fDIp0wHNFr9niJ0lrSyhTJZq7ZdqGW8gyCS2r34un9/JsInYQN S0Uxrc7BG9vm9tcM+FFQAUBsN7BVGRUyLV9bb+yRJMGp2ZzYPy+WDp7X2XbNgfu06VhK dsiAi2CKrFuWQW0VlB1cvw3VzOgU7ADK+iLUWMH9cEnvVrtE5wjOW1aS93Oh49xRapAa HdP+mylEtS6BLqNlcxHi4hFi0nu4W3Vl3zHYsd7D7CihS7auzEvrnhJuFJDMYydfZTf+ fqj6x34H+KX9+u6RfpfMHf0oeqei7qYlrisfG432aN782j4CJbDk/hL+SDBKeMRM/oh1 OBrw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a12-20020a17090ad80c00b0028fef30ef35si2650803pjv.80.2024.01.18.21.16.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 21:16:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30770-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B19202853C6 for ; Fri, 19 Jan 2024 05:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6EFB4A12; Fri, 19 Jan 2024 05:16:15 +0000 (UTC) Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D462F4691; Fri, 19 Jan 2024 05:16:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705641375; cv=none; b=PxbGae0OaL9uy7UWAZAALQOeaNTFdW93pNoJg/O6BYAOaDursCmxAE+eVcDOEuSs0laGd0l8JoIN77ZyZrE4jejYQAm3u81W74c+Lel4dupvDjTOnSUlZw/pyOb3v0f7JykNF4CDZXgDnOLp7thn4ItCJd23QZ8q04KJOzePW3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705641375; c=relaxed/simple; bh=ejefZ9g4beo5ULeSi9akJ+erm9iOsIbAyC+YgW+ABWA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ereGNIUOzYfcB5RtBA6c90JrP0Y9s4SXaJUx99nKGNGaVUxcVJmSOcMBSa43tXhKl7LzOLoHbyTBbt78TpyxSqtuGdK6VW6SMz4MYWXcQHTlQfp9DTMLuXg8qxsX9aSiyd6JogzoslmSmG4VG7nUCQaMHMrsTChw6YZpuKts9fA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.161.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-5986d902ae6so208518eaf.3; Thu, 18 Jan 2024 21:16:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705641373; x=1706246173; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cbdcNYh3PJs4LxluryfXeC8R/9613mcJgDoLdh3Fh40=; b=tvyvG27DvtoFW4WflAkr76OBCizeC7N7NYtZ9VARMU/6u61HdMvDHmm/ToIqXFCS5u j2Ar6I3rp0CKy/iOCge1S+qwguO0StNUxVXRQoE4PNkL8rOBzLw4n16h1cvLjraaHIL1 OG20YKUVhxr2EUo9AUv4ieCnwypjfnhK8HRtKpMO2dLpvQKX6CFL7WoNip3q5Z4cC00A ic6rwPiK3LnvFzqu9D1wapmBUY2ivkv7GXZMcoQopX5kLUBj/c08T7AQcAA4+/H10diU zoZ+N2Xp5cJYxGacljVMjK9UurSEWGOKygtMLbld/hF5xadjJlSu7HgMbcef49s+Bfz3 foIA== X-Gm-Message-State: AOJu0YxpsqQ+K13zYQEglNBXWXgl2CBPq6A73v7i4P6MDrtSb3gc8/x8 TCSelfYB3tFgapJWXFaMyyL9uHOmNOjQyp+4mBnopD/+1XAI3gS93KFgtj3g8C0HZkPLJgtqG/E tsZcXU2LrPoTlZZxflLXUJ7H/9Dk= X-Received: by 2002:a05:6358:c61f:b0:172:f968:51f1 with SMTP id fd31-20020a056358c61f00b00172f96851f1mr1981562rwb.55.1705641372733; Thu, 18 Jan 2024 21:16:12 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Namhyung Kim Date: Thu, 18 Jan 2024 21:16:01 -0800 Message-ID: Subject: Re: [PATCH] perf build: don't hardcode pkg-config path To: =?UTF-8?B?SmFuIEt1bmRyw6F0?= Cc: linux-perf-users@vger.kernel.org, "Yann E. MORIN" , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, On Wed, Jan 17, 2024 at 7:58=E2=80=AFAM Jan Kundr=C3=A1t wrote: > > On Buildroot and when building for Arm using the Bootlin toolchain, the > actual `pkg-config` is named just `pkg-config`, not > `arm-linux-pkg-config`. This patch allows the external build system > (such as Buildroot) to pass a working path. > > This is already done correctly in tools/build/feature/Makefile and > tools/thermal/tmon/Makefile and also fixed in other places many years > ago (9961aa665b70e47d6c80141c4a2482266010f246), but for some reason it > was never fixed in this file. > > Signed-off-by: Jan Kundr=C3=A1t > To: linux-perf-users@vger.kernel.org > Cc: Yann E. MORIN > Cc: linux-kernel@vger.kernel.org Acked-by: Namhyung Kim Thanks, Namhyung > --- > tools/perf/Makefile.perf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > index 86569f230e60..b69ab2ae77c6 100644 > --- a/tools/perf/Makefile.perf > +++ b/tools/perf/Makefile.perf > @@ -188,7 +188,7 @@ HOSTLD ?=3D ld > HOSTAR ?=3D ar > CLANG ?=3D clang > > -PKG_CONFIG =3D $(CROSS_COMPILE)pkg-config > +PKG_CONFIG ?=3D $(CROSS_COMPILE)pkg-config > > RM =3D rm -f > LN =3D ln -f > -- > 2.43.0 > > >