Re: [PATCHv2] clk: thead: allow COMPILE_TEST builds

From: Brian Masney

Date: Tue Jul 07 2026 - 11:22:41 EST


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>