Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1000385lqs; Fri, 14 Jun 2024 11:33:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUObfcixmdcRibcyFNLs2bo8ySS2oTnvsIdRDl0ULyyc2Ws5YI4faIkRFMqVLJJCB/63FoGjgXyrnTpkscIU0lhr0Wq0Xt0aRpfcvj8cg== X-Google-Smtp-Source: AGHT+IF1rQWp+XUjbfbdCWLj05L1xN5PNp/0K+04JpaKAGh841uAsL5lnOhsDA8R+9Z9a9uONtZn X-Received: by 2002:a62:e70c:0:b0:705:be21:f2c4 with SMTP id d2e1a72fcca58-705d7114067mr3353996b3a.3.1718390013518; Fri, 14 Jun 2024 11:33:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718390013; cv=pass; d=google.com; s=arc-20160816; b=JxXzyUnHAv9apJlSW3DVCDaQjfZUaQYcel8l46/PQsnRrDAdXjqh3BE7qQHsVwOrvt WPieuePjlx5y5Dfn1V0C+IYmp8GOqJl7wGyj2bmooYJDYYuRIDKOzdtLEJoS69xGq5iZ 8bTxhJ7zxkGOuzLN0feKkO05gGS/XWyP4uvjOPWLf8Vo21BX+IZ975vPpdZPl6h4DGgU svvUa6+LjcFlKPAVhpORRODpTsBDlqmVPb2oV0YacmRu+SSyYZQku9ayOO8lpqdCWFwL inXd8VChoH2x9Jn0xfM+FFJnBZGTWdRimOSvvSWD362NF10dhUoNTNOIzyZO7rAwmawA RiaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=L0xFxAxL3p7rQ/3BamGUAVQZpyAlO5EvKBh8u8KSXhQ=; fh=t9ggM3hF68t1qBQ+guPzbE4rzy4sRAQGhMPRJv6feug=; b=uxxWPgn2G7vZRDkLLVkSdDYdGqfcKsWw/2bMCrqaU3ee5IGHUX+GX28GCzej1xnfUZ 9AUcgYg3lG44ls9+7GARimgJZgzrMWbNGWIrBxYEowgzc4k6Evc/fD5/YZyuathtnNcQ cUJDDu4BrDQb1bjr4uAj1WyccSNI/dhf+wdkeUdYim0sp092Z/j+nHWFThnUIWLzu/ld i0foovLU3w4PrQQPGGpjIAD4C2OXJNAATevKheeyZm6vqsWRPg9a+U2/z28NzAzyyAQe +9qJlTSKbAQeQn2Xw6zCapTnH6JKAly5nQt98vnA2VhsYho4SZzrn9oYj/sXH58dt8nN CO0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=WqIbMLeO; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-215392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccbca15csi3956052b3a.405.2024.06.14.11.33.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 11:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=WqIbMLeO; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-215392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E3608B260C9 for ; Fri, 14 Jun 2024 17:57:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A734B19DF5A; Fri, 14 Jun 2024 17:57:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WqIbMLeO" Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (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 2B98819B3D2 for ; Fri, 14 Jun 2024 17:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718387830; cv=none; b=TQRcjHPwtiZJTL2V7+K1xY0MeiGNmxSEvZLoRJD11QeIwJyiOK2lu4jEv0ir16WBt9okbPG9tvRxoWJEmczS9qLsLW55lWlZrmtzeNfV2RG42FPyhT04YRyxKr5JkgddNvNkS1ECamwbh15VWkdTkLD74UU61pBuHGem3i92PRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718387830; c=relaxed/simple; bh=kIlso5lHGmvm66K0GmFxRXFu6AlRnWKn2dqP0Zq1OlY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Uik2K8jlSCkzo3e5jPdSsglpGprwrpg3HBbQyNWsmS0McWuekmZYxTZEXPtDy4cxvyc677SMDo3ZCiEfQNYxIGN70jeFDsDM3MzOYtJ6eAklwqWRAUWnzwNd6mN+ngjH8ocRTSLs4IUtjwRbbsBeVLzsiOYDSSP8/5K6vTA+lHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WqIbMLeO; arc=none smtp.client-ip=209.85.166.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-il1-f180.google.com with SMTP id e9e14a558f8ab-3737b3c6411so1163885ab.2 for ; Fri, 14 Jun 2024 10:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1718387828; x=1718992628; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=L0xFxAxL3p7rQ/3BamGUAVQZpyAlO5EvKBh8u8KSXhQ=; b=WqIbMLeOjy3BHNsZ+MXEdKmszagwvC+xsMlnVvSaaU4U5CkA9XqMJApFx3sHBiaKJQ v3J0lXABXyKpBK6cWp7FUe5oWYKHe4MTxMXXke7zH5nHrG+eRkP45wD6ip0vgB4CymMt P+UHyVW5pDWlZ8wz8r3qxGfq7tCwkt+gyjwjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718387828; x=1718992628; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L0xFxAxL3p7rQ/3BamGUAVQZpyAlO5EvKBh8u8KSXhQ=; b=f88CF4q0GHLwOvBRSaLQDRaHbH2CFi/e+gy6GM6YnPJfNpAyJU8e19U2xi7LJEj2ty fDtlxqaFwKtG4yVzB0D/ilLPnfP37rMpdyoO8aProu9ODzB8cWIhrgKswq535drqyj3d zk77vxmjF4+eEuczDjC7+h7DXnsAGiGsLuPUQY2KTZ3Fh7xsS3vADqG+auYgqf0FvQZs vdmbSxJ7+33lnSHDteNG1kOR8ehWC8RPenC58lBdCZwuuVp7UTeoI4io8sqRuI++2mpR BkP0zPQzfwiQOkY3o/gbJ52KGerxMPiDJS73QuMZGQjCJN0w29cu8Jt1Ekg8tDGixy8L EfJA== X-Forwarded-Encrypted: i=1; AJvYcCVCR23IOZ+dh//WCttYexOaiwJiOT0yPFZ0hH98oFzfANb+NvXxwtzlqy/zi4R22R/1RW3/5h3EiIAtTiimSP5P9sxMUNMNkdk494Ea X-Gm-Message-State: AOJu0YymNZFj+7BBXXbvbw6LjStvnZfreGM8wbzW1XXpgenh8lGUyaMv kZkDYY/S31Kd3Nhe3PvfkA2aYhYWZJZpA9mDGbJpLaXX1KJmGg5MioVq5ui5EDY= X-Received: by 2002:a05:6602:234b:b0:7eb:98cb:d770 with SMTP id ca18e2360f4ac-7ebeb50ede9mr351748139f.1.1718387828087; Fri, 14 Jun 2024 10:57:08 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b958ee4441sm934548173.59.2024.06.14.10.57.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jun 2024 10:57:07 -0700 (PDT) Message-ID: Date: Fri, 14 Jun 2024 11:57:05 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] cpupower: Add 'help' target to the main Makefile To: Roman Storozhenko , Thomas Renninger , Shuah Khan , Javier Carrasco Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20240614-make-help-v1-1-513118646b71@gmail.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240614-make-help-v1-1-513118646b71@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/14/24 01:56, Roman Storozhenko wrote: > Add 'help' target descriding building and cleaning targets > to the main Makefile > > Signed-off-by: Roman Storozhenko > --- > Make "cpupower" building process more user friendly by adding 'help' > target to the main makefile. This target describes various build > and cleaning options available to the user. You could include the above in the change log. > --- > tools/power/cpupower/Makefile | 37 ++++++++++++++++++++++++++++++++++++- > 1 file changed, 36 insertions(+), 1 deletion(-) > > diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile > index b53753dee02f..cd0225a312b4 100644 > --- a/tools/power/cpupower/Makefile > +++ b/tools/power/cpupower/Makefile > @@ -332,4 +332,39 @@ uninstall: > rm -f $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpupower.mo; \ > done; > > -.PHONY: all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean > +help: > + @echo 'Building targets:' > + @echo ' all - Default target. Could be omitted. Put build artifacts' > + @echo ' to "O" cmdline option dir (default: current dir)' > + @echo ' install - Install previously built project files from the output' > + @echo ' dir defined by "O" cmdline option (default: current dir)' > + @echo ' to the install dir defined by "DESTDIR" cmdline or' > + @echo ' Makefile config block option (default: "")' > + @echo ' install-lib - Install previously built library binary from the output' > + @echo ' dir defined by "O" cmdline option (default: current dir)' > + @echo ' and library headers from "lib/" for userspace to the install' > + @echo ' dir defined by "DESTDIR" cmdline (default: "")' > + @echo ' install-tools - Install previously built "cpupower" util from the output' > + @echo ' dir defined by "O" cmdline option (default: current dir) and' > + @echo ' "cpupower-completion.sh" script from the src dir to the' > + @echo ' install dir defined by "DESTDIR" cmdline or Makefile' > + @echo ' config block option (default: "")' > + @echo ' install-man - Install man pages from the "man" src subdir to the' > + @echo ' install dir defined by "DESTDIR" cmdline or Makefile' > + @echo ' config block option (default: "")' > + @echo ' install-gmo - Install previously built language files from the output' > + @echo ' dir defined by "O" cmdline option (default: current dir)' > + @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile' > + @echo ' config block option (default: "")' > + @echo ' install-bench - Install previously built "cpufreq-bench" util files from the' > + @echo ' output dir defined by "O" cmdline option (default: current dir)' > + @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile' > + @echo ' config block option (default: "")' > + @echo '' > + @echo 'Cleaning targets:' > + @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline' > + @echo ' option (default: current dir)' > + @echo ' uninstall - Remove previously installed files from the dir defined by "DESTDIR"' > + @echo ' cmdline or Makefile config block option (default: "")' > + > +.PHONY: all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean help > > --- > base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0 > change-id: 20240613-make-help-14359a943e7b > > Best regards, Something wrong in your process here. There shouldn't be addition text at the end of the patch. Use git-send email to send patches. thanks, -- Shuah