[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240614134651.4ed2091d@rorschach.local.home>
Date: Fri, 14 Jun 2024 13:46:51 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Kris Van Hees <kris.van.hees@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-modules@...r.kernel.org, linux-trace-kernel@...r.kernel.org, Masahiro
Yamada <masahiroy@...nel.org>, Luis Chamberlain <mcgrof@...nel.org>, Masami
Hiramatsu <mhiramat@...nel.org>, Nick Desaulniers
<ndesaulniers@...gle.com>, Jiri Olsa <olsajiri@...il.com>, Elena Zannoni
<elena.zannoni@...cle.com>
Subject: Re: [PATCH v4 1/3] kbuild: add mod(name,file)_flags to assembler
flags for module objects
On Fri, 14 Jun 2024 13:14:26 -0400
Kris Van Hees <kris.van.hees@...cle.com> wrote:
> Module objects compiled from C source can be identified by the presence
> of -DKBUILD_MODFILE and -DKBUILD_MODNAME on their compile command lines.
> However, module objects from assembler source do not have this defines.
>
> Add $(modfile_flags) to modkern_aflags (similar to modkern_cflahs), and
> add $(modname_flags) to a_flags (similar to c_flags).
You explain what this does but not why it does it.
-- Steve
Powered by blists - more mailing lists