Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1647572pxb; Thu, 16 Sep 2021 12:00:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxMmuQ4EHGuBm6r79n2tYqPhw+xjBJUOrRcQZbJZDh/+fmceImGI91p+YDdgGzc7lG8KSD X-Received: by 2002:a17:907:784b:: with SMTP id lb11mr8147831ejc.307.1631818811670; Thu, 16 Sep 2021 12:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631818811; cv=none; d=google.com; s=arc-20160816; b=V/vjVnlNiyKIqJNY1W1a+vTtnYjupHI7VMspB+gglHiqqLvkUpxv/pQ6sByMDnWVp8 75VGyKaNQz8mvs0hoRlsLiYFSIunhufCUAFHv3rQqYph3Z9phmM6pHiN13ofEJasPZUX AZR9bzBQcnQUSXNBwd4Wf+yNOsu+Cz6kBNJsXnAiVNPfVH44z6XPfVo7m2aDU9z+bwse IlGRdP1dyLwxtVSg2HwCLK0S7Z93atUgxdcNy5TpgjR+eYHVQgpTUayr9HeSCzMRqVwW ojM2W4TlnMwOp3TS7YUuoBGE6dei1GeV2e95FK3p5gM2LRr8a+kDSf+AXPmBpwCg1LLY rSuQ== 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=m0beYGbuLJJ5NHOSu225XhG9RZrHhfXvKl94D5wDNei9hdMggTxYtLtUBqEKFCg34v tWPfjMGBcdP+CquzQUpfQgT6nC6BIuybKalLcFvCDx9dyavyAYAZ+gPRuOAbVzzynLG0 1oHD9rAonTjeQFnPpbjk5y21cpyxg19RPEPTr1fG59SvLKpHGs2S51t5JtXyQ2W+aE00 EDBiqaHyElSQ+GF+4bhn7RQ0/zkgdZr6Rh6Y3R0oYMVgC7Bbxbg9i5fnKqEJTEus3XtN 0nEYGq2zZnECgJmDARQ4g3WiWSsVYh7zmSySwdw3NOtK/g5HrHJK9ze/X/QB4R4/QulB f8uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ndwQNGWI; 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 gv54si4084452ejc.58.2021.09.16.11.59.47; Thu, 16 Sep 2021 12:00:11 -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=ndwQNGWI; 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 S240641AbhIPQFu (ORCPT + 99 others); Thu, 16 Sep 2021 12:05:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:44628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240576AbhIPQFc (ORCPT ); Thu, 16 Sep 2021 12:05:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 52B9660232; Thu, 16 Sep 2021 16:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808250; bh=rYpuYWuL85NPJVb7hEvBG/6OSBru/NwAp5iRIDttqi0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ndwQNGWIul+BdlN4Oe9Mohm8aqW3rLTLvvdrDBuyTb7m3/CUkGLLXlHwCRSZw1lJ9 +xkj2Nmbz9Sr/Gc2Uy3qqxTdxqTD+Ies9WHT9QFDxmGjel42Y788XByVMRBS1kE2hS 82nEbw4h8QhpCfqJLD7jYVzR8L8/1EKCxeQFo66M= 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.10 017/306] tools/thermal/tmon: Add cross compiling support Date: Thu, 16 Sep 2021 17:56:02 +0200 Message-Id: <20210916155754.514415430@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@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+=