Re: [PATCH] clk: hisilicon: allow COMPILE_TEST builds

Rosen Penev <[email protected]> Sun, 19 Jul 2026 14:44:03 -0700
Newsgroups dev.linux.lists.llvm,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel
Message-ID <CAKxU2N9Wf07ZNvVyOz=WR+8TdzxoivnAp5x3_FN5rqpU6M7maw@mail.gmail.com>
On Mon, May 11, 2026 at 8:00 AM Brian Masney <[email protected]> wrote:
>
> On Fri, May 08, 2026 at 10:11:10PM -0700, Rosen Penev wrote:
> > The HiSilicon clock symbols already depend on ARCH_HISI or COMPILE_TEST,
> > but the parent clock Makefile only descends into the hisilicon directory
> > when ARCH_HISI is enabled.
> >
> > Add a hidden family gate selected by the HiSilicon clock and reset symbols,
> > default it for ARCH_HISI, and use it for the parent Makefile descent.  This
> > keeps existing platform builds unchanged while allowing compile-test
> > coverage.
> >
> > Tested with:
> > make LLVM=1 ARCH=loongarch drivers/clk/hisilicon/
> >
> > Assisted-by: Codex:GPT-5.5
> > Signed-off-by: Rosen Penev <[email protected]>
>
> Reviewed-by: Brian Masney <[email protected]>
Should I resend?
>