Re: [PATCHv2] clk: thead: allow COMPILE_TEST builds
Brian Masney <[email protected]>
| Newsgroups | dev.linux.lists.llvm,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CABx5tqLynfd-uku+iLNHrnLu4k0rXn=yBi2oU6b2HNEZT=0vaw@mail.gmail.com> |
Hey Drew, On Thu, Jul 9, 2026 at 2:30 AM Drew Fustini <[email protected]> wrote: > On Tue, Jul 07, 2026 at 10:57:51AM -0400, Brian Masney wrote: > > On Mon, Jul 06, 2026 at 05:56:19PM -0700, Rosen Penev wrote: > > > Follow the pattern of many other directories in this Makefile (sunxi-ng, > > > tenstorrent, ti, etc.) by using obj-y. This allows COMPILE_TEST to > > > select the driver without having CONFIG_ARCH_THEAD enabled > > > > > > Tested with: > > > make LLVM=1 ARCH=loongarch drivers/clk/thead/ > > > > > > Assisted-by: Codex:GPT-5.5 > > > Signed-off-by: Rosen Penev <[email protected]> > > > > Reviewed-by: Brian Masney <[email protected]> > > This doesn't apply to 7.2-rc or next for me due to the surrounding > context, but I agree with the change itself. > > Acked-by: Drew Fustini <[email protected]> > > Brian - do you think this should be routed through my thead-clk tree or > go through the main clk tree? It'd be great if you could pick this up through the thead-clk tree. Brian