]> git.baikalelectronics.ru Git - uboot.git/commit
clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI
authorBen Dooks <ben.dooks@sifive.com>
Tue, 9 May 2023 13:50:05 +0000 (14:50 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commitf68da77ca9955ac85e064b6a8fc8a32663cb6389
tree7cbbe4fdd8ba1654140b4d85363e802e26b4d268
parenta14ef91b2a0a2798a613aca8e6f93a3c8c8bc96e
clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI

If we're building non FU540/FU740 SoC drivers, then the sifive-prci.o
is not needed. Only build this when CONFIG_CLK_SIFIVE_PRCI is selected.

Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/clk/sifive/Makefile