* [PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI
@ 2023-05-09 13:50 Ben Dooks
2023-06-26 2:49 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2023-05-09 13:50 UTC (permalink / raw)
To: u-boot
Cc: Lukasz Majewski, Sean Anderson, ben.dooks, sudip.mukherjee,
jude.onyenegecha, Ben Dooks
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>
---
drivers/clk/sifive/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clk/sifive/Makefile b/drivers/clk/sifive/Makefile
index 51348b1ddc..84859d92ab 100644
--- a/drivers/clk/sifive/Makefile
+++ b/drivers/clk/sifive/Makefile
@@ -1,5 +1,3 @@
# SPDX-License-Identifier: GPL-2.0+
-obj-y += sifive-prci.o
-
-obj-$(CONFIG_CLK_SIFIVE_PRCI) += fu540-prci.o fu740-prci.o
+obj-$(CONFIG_CLK_SIFIVE_PRCI) += sifive-prci.o fu540-prci.o fu740-prci.o
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI
2023-05-09 13:50 [PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI Ben Dooks
@ 2023-06-26 2:49 ` Leo Liang
0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2023-06-26 2:49 UTC (permalink / raw)
To: Ben Dooks; +Cc: u-boot, Lukasz Majewski, Sean Anderson, ben.dooks
On Tue, May 09, 2023 at 02:50:05PM +0100, Ben Dooks wrote:
> 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>
> ---
> drivers/clk/sifive/Makefile | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-26 2:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09 13:50 [PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI Ben Dooks
2023-06-26 2:49 ` Leo Liang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox