[PATCH] clk: rockchip: allow COMPILE_TEST builds
Brian Masney
bmasney at redhat.com
Mon May 11 07:50:14 PDT 2026
On Fri, May 08, 2026 at 05:36:02PM -0700, Rosen Penev wrote:
> COMMON_CLK_ROCKCHIP already gates the Rockchip clock objects inside the
> Rockchip clock Makefile. Allow selecting it for COMPILE_TEST and use it
> for the parent Makefile descent instead of ARCH_ROCKCHIP.
>
> The per-SoC Rockchip clock symbols already have COMPILE_TEST dependencies,
> so this exposes the existing build coverage to other architectures without
> selecting the Rockchip platform.
>
> Tested with:
> make LLVM=1 ARCH=loongarch drivers/clk/rockchip/
>
> Assisted-by: Codex:GPT-5.5
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
Reviewed-by: Brian Masney <bmasney at redhat.com>
More information about the Linux-rockchip
mailing list