Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1832615lqo; Sun, 12 May 2024 22:22:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXddaQn20UnLQQ1ucprdrcPBLLCvze7Lk5EI8NJcP0BfG+tsyTE6ym732j2aLU5Dvb4tjzKdbhQUdQsZxYa0lgUufIyjf6Afld1E5PUgg== X-Google-Smtp-Source: AGHT+IHFnnYfWbX5QL/Gzeo0/bzag0sHtCi4AaNdkLMr5bvz+BuaIoQY184FM0zla0q7v9E4rbuF X-Received: by 2002:a05:6a00:2e22:b0:6f3:e9bc:7ed5 with SMTP id d2e1a72fcca58-6f4e0299e3bmr9103541b3a.4.1715577775880; Sun, 12 May 2024 22:22:55 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aef0e7si6289307b3a.176.2024.05.12.22.22.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 22:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=p06hU1cK; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-177162-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177162-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 62E5C2812A4 for ; Mon, 13 May 2024 05:22:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5916D14601D; Mon, 13 May 2024 05:22:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p06hU1cK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 71A6F84A2E; Mon, 13 May 2024 05:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715577769; cv=none; b=pCGplSlNHiFt7tzyX4wPd4IkfzNIZgCU4qM/+mxdYdSbA6oBgAO7Br4qxeuBtPjaVdV0NI/cbD6hfnlhhoArijHc6JnPK7uy+9yloUHLqa+hjU+NJiBy3U7DWUF68NZHuLJyMUc7nH8EHIaPwSR/vzSjCU5fgRs0WMjb4w4t/wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715577769; c=relaxed/simple; bh=R5edv3eTItWTaOLwF4r18UMlBImuuSZKl+iELr5SbFY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=S+NXTmCs168gKmHEhYo+pIDGTlwHaSvr5gQfkw5eEthLyqQxJ/0a5Y91704BYzlQZ/fnuFm0nAbvdC1q4Pq/xoCWiREcTKIEtH/w96faCi/eghh7DeqLHxzihGY//bcg2E31NtcaP2lk8nSe9jYFzLDpolLaDV2lyHU2lL8Hfrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p06hU1cK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0EA0C113CC; Mon, 13 May 2024 05:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715577769; bh=R5edv3eTItWTaOLwF4r18UMlBImuuSZKl+iELr5SbFY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=p06hU1cKczs1w9WQUuXhHvfqS8BQpzyYpI6RVpLu/xjeYm87lmvKgC2IK1cHUjzhk CyeaI7QCTqOw15obLBu/Z/xyT3MuGwG5bGGPc+uz67a5WR2dDu/j8C2k9aLd8aSjZD 7AZEwcTWK/MVCkhY56eDyX0dNbSYEBKXxtwG1KKMF8t8dfJwxWs0rZLAKnEGMcf++K mgdBDrdqNIY1yifcawMCrYgn0iL38+5EBIvrE4xkWUtr20SlayPq5kW2d2KB3e5t9M iyN3qwS6rqZs2+taVFiaWH0I7nq92Es/Jj2y1zeOTHwaVs+Q3j40IJQZD+fMYH61qz 8qh9srqXxGAKg== Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-51ff65b1e14so4139163e87.2; Sun, 12 May 2024 22:22:48 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUbz6bRkv5kFxsM1UuEaU9nH5r4rqDlBjzBKhfXhZaDEoBzn9swA3TK6XlF8EC8xGl/6kXI4+pdM9THhzIskmLYeYYqHNqJEk6B7h+kVlpDQ6PufLdP0CazMICdnZbUIl2ym3Sx945Zf4HgB6fZKfvn2SSV5rFlcYMeHqUcMrvX0KhL8zG48nLhkH9gQsYYlw== X-Gm-Message-State: AOJu0Yxnjb5Ozp/5sryqTjD2H0lLItWKruIIYDAoNDwJFZx9YgAPh4GP ID+XPNEEvgtgIYCpXrIT//5A/5tL7HqS3wri0tR7wlXmsfKLWb9wHvdyy3eqs0bbMXslO/DG4Jc ieUsmalU6wa9QxwT8ZFviVrTpBWU= X-Received: by 2002:a05:6512:3b08:b0:522:2c9b:63b7 with SMTP id 2adb3069b0e04-5222c9b648bmr5282900e87.14.1715577767722; Sun, 12 May 2024 22:22:47 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240511224035.27775-1-kris.van.hees@oracle.com> <20240511224035.27775-7-kris.van.hees@oracle.com> In-Reply-To: <20240511224035.27775-7-kris.van.hees@oracle.com> From: Masahiro Yamada Date: Mon, 13 May 2024 14:22:11 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 6/6] module: add install target for modules.builtin.ranges To: Kris Van Hees Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-modules@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Nick Alcock , Steven Rostedt , Luis Chamberlain , Masami Hiramatsu , Nick Desaulniers , Jiri Olsa , Elena Zannoni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 12, 2024 at 7:59=E2=80=AFAM Kris Van Hees wrote: > > When CONFIG_BUILTIN_MODULE_RANGES is enabled, the modules.builtin.ranges > file should be installed in the module install location. > > Signed-off-by: Kris Van Hees > Reviewed-by: Nick Alcock > --- > Changes since v1: > - Renamed CONFIG_BUILTIN_RANGES to CONFIG_BUILTIN_MODULE_RANGES > --- > scripts/Makefile.modinst | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst > index b45586aa1de49..e185dacae892a 100644 > --- a/scripts/Makefile.modinst > +++ b/scripts/Makefile.modinst > @@ -36,6 +36,11 @@ install-y +=3D $(addprefix $(MODLIB)/, modules.builtin= modules.builtin.modinfo mod > $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo modules.= builtin.objs): $(MODLIB)/%: % FORCE > $(call cmd,install) > > +install-$(CONFIG_BUILTIN_MODULE_RANGES) +=3D $(MODLIB)/modules.builtin.r= anges > + > +$(MODLIB)/modules.builtin.ranges: modules.builtin.ranges FORCE > + $(call cmd,install) > + Why add this to $(addprefix ...) part? > endif > > modules :=3D $(call read-file, $(MODORDER)) > -- > 2.43.0 > > -- Best Regards Masahiro Yamada