Re: [PATCHv2] clk: thead: allow COMPILE_TEST builds
From: Brian Masney
Date: Thu Jul 09 2026 - 08:07:17 EST
Hey Drew,
On Thu, Jul 9, 2026 at 2:30 AM Drew Fustini <fustini@xxxxxxxxxx> 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 <rosenp@xxxxxxxxx>
> >
> > Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>
>
> 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 <fustini@xxxxxxxxxx>
>
> 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