[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNATqnn=YEvrZsDan5_dGdgv=Db2uQ-_WOhj2bS1AwUc_4w@mail.gmail.com>
Date: Sat, 15 Mar 2025 16:08:56 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Ard Biesheuvel <ardb+git@...gle.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>, Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH] kbuild: do not generate .tmp_vmlinux*.map when CONFIG_VMLINUX_MAP=y
On Thu, Mar 13, 2025 at 7:26 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> Commit 5cc124720461 ("kbuild: add CONFIG_VMLINUX_MAP expert option")
> mentioned that "the .map file can be rather large (several MB), and
> that's a waste of space when one isn't interested in these things."
>
> If that is the case, generating map files for the intermediate
> tmp_vmlinux* files is also a waste of space. It is unlikely that
> anyone would be interested in the .tmp_vmlinux.map* files.
I fixed this typo:
.tmp_vmlinux.map* -> .tmp_vmlinux*.map
>
> This commit stops passing the -Map= option when linking the .tmp_vmlinux*
> intermediates.
>
> I also hard-coded the file name 'vmlinux.map' instead of ${output}.map
> because a later commit will introduce vmlinux.unstripped but I want to
> keep the name of the map file.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
Inserted before Ard's patch set.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists