diff options
| author | Ben Dooks <[email protected]> | 2023-05-09 14:50:05 +0100 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2023-07-06 17:28:08 +0800 |
| commit | c29cc110d7c2486c0b71edaccd8bc61cb77385a4 (patch) | |
| tree | 7cbbe4fdd8ba1654140b4d85363e802e26b4d268 /drivers | |
| parent | 661e2215f8483cc7a77badeab6dcbf6a88cc715c (diff) | |
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 <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/clk/sifive/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/sifive/Makefile b/drivers/clk/sifive/Makefile index 51348b1ddc0..84859d92aba 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 |
