Message ID | 20240919-pm-v2-2-0f25686556b5@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Shuah Khan |
Headers | show
Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011063.outbound.protection.outlook.com [52.101.70.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50E3F19D8BF; Thu, 19 Sep 2024 11:59:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726747176; cv=fail; b=qEps9pT0vde6PXEhevQW3VlBNo73Krwg/XCeNVcSOShTgbKhUhnRR78xfvLxglKag7Fhh6o+pwMDfkEKjYfjIEZ3SgYshW9pv8xuMWi4bR1aiey+wKhxjxHdHhMf+EL0CJ+4IB9AhK6ZdTHqb0aDx9buo0o2fFkcpImMBFdtoko= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726747176; c=relaxed/simple; bh=7V0f/f9guHNu7sC64qEuW8R13ABKxk0EvLM+bSDlK/o=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=B7BxLfnAB58F8Y7m8PHfsShPlfLf46cAxuv2WKCphn72cfqD2LRCWB02QytQc0jkyCr2ai07UHBJ1+BBHQk6ifCAI1dhg0hjhNixJvL6SxF5m7AXpocwpm5ClAsGLR+/ruSz7qougKjMjX/tNeA1a0xYCWK3AaCdSB89xV3U3c0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=vVHzjc66; arc=fail smtp.client-ip=52.101.70.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="vVHzjc66" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZFzksRt9DvIAlYU2vkGLaG4amrAkCqdH5oonAiytwECpV/pv56IBZL6DjvC9W0uRo66A3qt4371aWV6FA+/cevN5qS5OgVQTwyTJnNVs5C2xZpjazLfjJsCUeNfnEoyGjNcpkVeV4t2P13coqeO+fnC4RtYOiJjL3zwVkn0hjuY41EcfCdE89tVUeoOE89d7zmaryUWNFdXqJMGQTsFfFaYIc5+tHbyc11Cf/PjNdrAijRnHIMgoTuQiGLBZK4PH8+5YSE9LnEn9I4X+pU5mreH6xfeQFGcnc76axnpQXvjgH3wXNS4O/LKy6w+n+nHnXHjrepwblnsMkfZ8IGnzSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aoIGSlMIQRDr2pq3U62k50+a0lLLhLMwtt+p9LzKGsY=; b=qdfddmEs0iEnKaoEqOFH1a9m+YE+rtjCCetrMzH7/UROEn/U1Jkz4gogneHdKyvmG0afivbWx3OLYYyq41lwnr2Kp+2+WdH9LYUtht0jMKdrYzU7nokdIyOmY9VD8eiRH087IdbxIh+rkAPNh8ywMhjjsvhA4hPM1eeETfI/yNDRAW/a9mloH6Q/mN3jrphI18gTRMl3BJiwdVTlKiXxsQNTjZpWVeCJxN+J0yM7gCKB0TAXNG7bT+wVvyWEmvjiPWsiNLcDQ7G8mB4Qml0q8bG/rqXpGER2X6UrRs6HagKzUrE5rSWlcGT0D0r6VO8v1UC9DOm8TxQhvnquksYCUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aoIGSlMIQRDr2pq3U62k50+a0lLLhLMwtt+p9LzKGsY=; b=vVHzjc66PzMaC3eNg4aYDKFzAz4qEn668KNfAbT5kq/T3/zTxn91oVxGgAL149G9O6fwvTqfT9C6Cvjj+lnwY/YnQ9Sx1PNcWZmeu9FV+M48q2koDpKRzIr0Cfk/6AEGlfFFAPkbJ8L228YwNfXW4LJga2xEbOjZJHOsHmLrUcfBTraGON+eAVIcp0reEWodEl5SCapcwTK/KBrDqgcdy1L8RbKNvEX2eTp1iYBRWb6/STOmO61Bvw2ZhUkJPJFAoXJf5DcQlTuxP0XPMurWoov6AY1n0xj4b16rQm2XVxu0afQMzEbIuNBEJkEkHFuYsEE+bBQcUgaSK0nIrkMlAw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by DBBPR04MB8041.eurprd04.prod.outlook.com (2603:10a6:10:1e2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.21; Thu, 19 Sep 2024 11:59:32 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7982.018; Thu, 19 Sep 2024 11:59:32 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Thu, 19 Sep 2024 20:08:12 +0800 Subject: [PATCH v2 2/2] pm: cpupower: Makefile: Allow overriding cross-compiling env params Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240919-pm-v2-2-0f25686556b5@nxp.com> References: <20240919-pm-v2-0-0f25686556b5@nxp.com> In-Reply-To: <20240919-pm-v2-0-0f25686556b5@nxp.com> To: Thomas Renninger <trenn@suse.com>, Shuah Khan <shuah@kernel.org>, "John B. Wyatt IV" <jwyatt@redhat.com>, John Kacur <jkacur@redhat.com> Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726747701; l=1195; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=fMo/GNBeKM8Yzn76Blt/N2LBPZebcMz9USwf2IPh7sI=; b=ngEq6iNVxJpbaeWYj3qEu/rLiyb46vFqsortEdwAHuVYPTGhtu63/MNoWBKRnDdFWcdnxXfmr W1nH1im3BYnD1qUU/phezhHs6UZsGlUBdiG2afuv1QlYWB8hKdaVXpI X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0019.apcprd02.prod.outlook.com (2603:1096:4:1f4::15) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: <linux-pm.vger.kernel.org> List-Subscribe: <mailto:linux-pm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-pm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|DBBPR04MB8041:EE_ X-MS-Office365-Filtering-Correlation-Id: 5088639a-0d81-4912-9ffd-08dcd8a285a8 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|1800799024|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?fivBi1/ECdgyEDrMi+iVL3rkDSP1W2T?= =?utf-8?q?NQdwzFKRhSAJtJokx32LPgEjdL2/J/t2YGyM0Dmyaw4EZ7U22f/NWD5HC36+CZzDP?= =?utf-8?q?4ABQs2d6syeIxfGGDgFnm26nflEZgVeT81gMHcVjM1jMu0dQYlg7JAL7/7mNsPpC/?= =?utf-8?q?pec7dGS7xE9H78P2ygFNmrBO5LmTvvQebRIsRcTK4JGQi7ZJ69MDaYU+XuIqTbHrV?= =?utf-8?q?tFcUBiRloXlHfbtsRvK2oAskHoP0vo9jBHLt9Iv2gZFDgNqyV1HfiPqZ/pUxgPT3x?= =?utf-8?q?rahNIH4W6t12X31+/BdDzixxIUXtnW7CDuXbGVwja4s6iVIzZyhI7smfPJ+d3s7Ek?= =?utf-8?q?xewVJbfyDceixdu9smDLdv5Oo+ZKfWL9w2NnFyECBrKxZJYhMPyYVbtweKX27aTtX?= =?utf-8?q?5ABoe2REd67Bape8FgTb5am3O4nJFYokbUkGzCGpSayfB1VvJIRK5HdJ0kG0V8Vlx?= =?utf-8?q?L9ACQVu3Xwijqg4q6/7xYyqXVgn7NgRXYjCMB9WjgbWFr7zCjVdOCGTdD/HVu7/Bt?= =?utf-8?q?3Ag20X6EPyKjBDBZPC5X9F7heTeLQHUyiiywuEgyRs7LRrpagl20p6SZ6WmDC7Dqi?= =?utf-8?q?9Nq7yUCAEHxGoQSH0bUmsGwFioJLIKiwWMSyo/6soz6reFKZGyhsxv3tI+alwPdcg?= =?utf-8?q?VamAkN42n9yei7OBPkteuQFjGJ+0Kf1/Y1rANNvgWLV9PTaHkoBLG9F85cSVX1qDb?= =?utf-8?q?3gxhVqwZHgYNLPv+vIs0xF+onZBVbdvACPD6dCAhtmNcU7FTGz6CpTU9Uoo5rJ0+p?= =?utf-8?q?BREU7TFhTTOSd/YG/YqVlfLaiGeETy/gwAoCUJ7xBc+isSSnJOvhKfZ7qy0Uw0i+4?= =?utf-8?q?VuxJvXGfQ2z5y4n3RK9Nf0WAkBcY2qQ6b5sKroapcw+ONNMJIn30aXGTXDUuGv07e?= =?utf-8?q?m+0VTiWca44HC+AtV/KvhzYqyx2Dq7BM7iSbH6qclgnHEC2e4BG2aj3HXmJWbKYNO?= =?utf-8?q?6RnkYD6+Yi5MwdBr4hwPuaQQhwi+orq+UGJ8X+E9jGHF2mRxt/luKJbo8vkcQnafm?= =?utf-8?q?26w1YYHWLTYk65BeXACKb/dsVBXLlC9EeK67h0ygqYXsd8DznWhJctmz4/IWPI8Cf?= =?utf-8?q?+3hDLBZprLHncOYCvfoNhc0UiaWm6g6N2K4r5LNh0CSzRDdOeA3vd+eWtprw5HKMA?= =?utf-8?q?TBfFeWnMzNHXTdpBhhbIeZN/Lxk7tCANWRrSpJ/6mAeD8IFC0RwC88r9tzOagLgo1?= =?utf-8?q?niv7u8R07/n18vvfTaCqfrWFpI1t6KSbcc/EDS5z9EfjBwQLU307FY2vn2O+7DiVx?= =?utf-8?q?gLn/snYpPDY5eCH6SvnoR0vU8/VAZZ1J8cfD75MoNGCx5B1rgFhUFaRcgai9l96YF?= =?utf-8?q?aKvT4PQetQ1JjIZwoBWkMmtaLXo4++LvCw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(1800799024)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MV2s08mVK9zRJMXaeRSagI5N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4PKIblDxr/iidTqYwzboF9jHfut08ehgi2cPoNoWdjc5z8e4uR46bra7V8?= =?utf-8?q?X2o/D4ev/l3ni62DdJ4OvuesqMIOakSm5Epaw5Np2wN9uUj54X36CYWn+mCSRZU39?= =?utf-8?q?OXSGLKjEcN2NPN7BUoMcc18Uzxj+p0ch0I8GVwwtUyIYobnRvm7AhfKnG/PV8g2OB?= =?utf-8?q?w6kqT27TAFcuxFaWRwH3VNuZo6eMSrtNr06m8vqQG1i6n6fCu2ND3+J6COsYnd+F+?= =?utf-8?q?Fa7e6J5XGQAxHsfegMaxwEmdLgtUr3r0jb2LektRNjBpxEauJLgDg1xd/CN8fAuN4?= =?utf-8?q?2qP/AyU0yjdtYBGSl6469sU6/Eh6UV/3UJqXoQmKPvCJThlWyPDWKoFo9Gp5UbJDo?= =?utf-8?q?fpEcPSkcLWZn9LL/vP1HOshyTqCnISLh4lj9If7jb6Ae1s+alNi9MJcYOKaMLjxvl?= =?utf-8?q?J80qv/y3kxSHwDl2pElygS/CzF6gQmqDwEE9kI1uyTS0xwkFUxSMNHzdNOcYOQTXX?= =?utf-8?q?SdBL1RmUWNDjBAwoEPfZyRM7huUcVT9OE70kd1M8LRCDFEuOChkf8liPc0E3BPNLI?= =?utf-8?q?42cNOi0saXIAoFxPKEXhBai+yUlp1MDqc4+v5ZT6e84DNPdd917C+apWaOo0ck4w7?= =?utf-8?q?m2J9q/XKzWUk?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5088639a-0d81-4912-9ffd-08dcd8a285a8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2024 11:59:31.9749 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b0NrzrCNTN2rIEyOsNuIJHxWgIfFZ2RNBUng18DkdiaVAQ5S/V/LnBSbx8Z1g+yZo35W3r/A8l9wiHrnloTtdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8041 |
Series |
tools: power: cpupower: Allow overriding cross-compiling envs
|
expand
|
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile index 6c02f401069e..e2a48af6fa2a 100644 --- a/tools/power/cpupower/Makefile +++ b/tools/power/cpupower/Makefile @@ -86,12 +86,12 @@ INSTALL_SCRIPT = ${INSTALL} -m 644 # If you are running a cross compiler, you may want to set this # to something more interesting, like "arm-linux-". If you want # to compile vs uClibc, that can be done here as well. -CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- -CC = $(CROSS)gcc -LD = $(CROSS)gcc -AR = $(CROSS)ar -STRIP = $(CROSS)strip -RANLIB = $(CROSS)ranlib +CROSS ?= #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- +CC ?= $(CROSS)gcc +LD ?= $(CROSS)gcc +AR ?= $(CROSS)ar +STRIP ?= $(CROSS)strip +RANLIB ?= $(CROSS)ranlib HOSTCC = gcc MKDIR = mkdir