Received: by 2002:a05:6520:4d:b0:139:a872:a4c9 with SMTP id i13csp2565287lkm; Mon, 20 Sep 2021 18:51:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLQwjCwxj4dPj6LGXnLhWqiBhlf3p9/i4iRh6hUS4PxLDt2p1RE3tIOFB59eEn2RDZ7BF1 X-Received: by 2002:a92:1304:: with SMTP id 4mr19566451ilt.196.1632189088439; Mon, 20 Sep 2021 18:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632189088; cv=none; d=google.com; s=arc-20160816; b=tcXaCRi26XWUJ3i1C3BP7Dk3cwtIomhQJR3z/oK7OZr2SEacwTT2qnqxPL9WBTEKOq rYeLUtPlH7fsaROfveJdRXP3/Qr+bkDfsU62cad+RzG+WEB6zevhPo+QWbYYcwoTl5ow tVgUo4roE7AaroZ7GWA61TxZWGqCIbeq+j+Cqp1KhMPnKE32JOjzzLCxGbWPF9dCvO9n DTu+UG/qrsl/lXzkCN8YkpRphBIQcqts1Jh2PYnvqMC6zUi0JHrygho1zRyxtHik6oNI 8PFHUg6fIEArVPopk7mWJfjhn/8/tTCkRp1dGsPKwQkkDuInAxtYqlq0HqKYZg2+IGdy /eNQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hw/qSyLA50qhZRlBFwJqUcdtrrlEKmRj3IYbzVT5PcE=; b=NjOERevMrVqDY2vX8NN4VAlkK6h6X9ZFILZ6k8qwdBNnDdM8LWKJGG6UCwAGsOW3Rr 0tPz0OYhS9j02GRLXQoaZqn1v8S0K2ps7rlIjCfrWwJR+ysS7gepOP8E5f7Mf0BwJynB MI+RQVSnd7KIEHaGQBuX+GSoDqJMTnp5QcI4i2d+JF6ZldQhucBWaTXFI5Wu/Ndyoj5w ORYvoDIOJdEqRkgy55qVZLjKoEcwQVKjMqQ/qyDKqCKipLF9iQM+Ht0CrPFtNxVw1Xn4 120ue8CTTTrl7HQYOySV1QccITDM/YAwomj0P0u/25hRyc+Cq1wRehXRF/edt0f5hNg3 ZWGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zaSYwz3x; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si17376434jaj.5.2021.09.20.18.50.49; Mon, 20 Sep 2021 18:51:28 -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=@linuxfoundation.org header.s=korg header.b=zaSYwz3x; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359400AbhITSJf (ORCPT + 99 others); Mon, 20 Sep 2021 14:09:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:33074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357337AbhITSD4 (ORCPT ); Mon, 20 Sep 2021 14:03:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 003E663241; Mon, 20 Sep 2021 17:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158217; bh=rYpuYWuL85NPJVb7hEvBG/6OSBru/NwAp5iRIDttqi0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zaSYwz3xpM13N8XnFStpp4xSwLGUVdpRmopWPgm/OYp+sbVOuoQv5UbG4xNOvaR1s bOiB2Q974/aEcZcZaMUwsYc8rK5k93SgJ0S98rVso2Bxf213rSb/Elo74/XHQMtOXf iLPzQLqPd82ZvSG4o70l96flqOnqD8JV3fokFhHs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rolf Eike Beer , Daniel Lezcano Subject: [PATCH 5.4 011/260] tools/thermal/tmon: Add cross compiling support Date: Mon, 20 Sep 2021 18:40:29 +0200 Message-Id: <20210920163931.509064195@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rolf Eike Beer commit b5f7912bb604b47a0fe024560488a7556dce8ee7 upstream. Default to prefixed pkg-config when crosscompiling, this matches what other parts of the tools/ directory already do. [dlezcano] : Reworked description Signed-off-by: Rolf Eike Beer Cc: stable@vger.kernel.org Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/31302992.qZodDJZGDc@devpool47 Signed-off-by: Greg Kroah-Hartman --- tools/thermal/tmon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/thermal/tmon/Makefile +++ b/tools/thermal/tmon/Makefile @@ -10,7 +10,7 @@ override CFLAGS+= $(call cc-option,-O3,- # Add "-fstack-protector" only if toolchain supports it. override CFLAGS+= $(call cc-option,-fstack-protector-strong) CC?= $(CROSS_COMPILE)gcc -PKG_CONFIG?= pkg-config +PKG_CONFIG?= $(CROSS_COMPILE)pkg-config override CFLAGS+=-D VERSION=\"$(VERSION)\" LDFLAGS+=