]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - drivers/clk/sunxi-ng/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / drivers / clk / sunxi-ng / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1d80c142 2# Common objects
06e226c7 3lib-$(CONFIG_SUNXI_CCU) += ccu_common.o
f6f64ed8 4lib-$(CONFIG_SUNXI_CCU) += ccu_mmc_timing.o
06e226c7 5lib-$(CONFIG_SUNXI_CCU) += ccu_reset.o
89a3dfb7
MR
6
7# Base clock types
06e226c7
SB
8lib-$(CONFIG_SUNXI_CCU) += ccu_div.o
9lib-$(CONFIG_SUNXI_CCU) += ccu_frac.o
10lib-$(CONFIG_SUNXI_CCU) += ccu_gate.o
11lib-$(CONFIG_SUNXI_CCU) += ccu_mux.o
12lib-$(CONFIG_SUNXI_CCU) += ccu_mult.o
13lib-$(CONFIG_SUNXI_CCU) += ccu_phase.o
2ab836db
MR
14
15# Multi-factor clocks
06e226c7
SB
16lib-$(CONFIG_SUNXI_CCU) += ccu_nk.o
17lib-$(CONFIG_SUNXI_CCU) += ccu_nkm.o
18lib-$(CONFIG_SUNXI_CCU) += ccu_nkmp.o
19lib-$(CONFIG_SUNXI_CCU) += ccu_nm.o
20lib-$(CONFIG_SUNXI_CCU) += ccu_mp.o
0577e485
MR
21
22# SoC support
c6a06374 23obj-$(CONFIG_SUN50I_A64_CCU) += ccu-sun50i-a64.o
c84f5683 24obj-$(CONFIG_SUN4I_A10_CCU) += ccu-sun4i-a10.o
5e737617 25obj-$(CONFIG_SUN5I_CCU) += ccu-sun5i.o
c6e6c96d 26obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6i-a31.o
5690879d 27obj-$(CONFIG_SUN8I_A23_CCU) += ccu-sun8i-a23.o
d05c748b 28obj-$(CONFIG_SUN8I_A33_CCU) += ccu-sun8i-a33.o
05359be1 29obj-$(CONFIG_SUN8I_A83T_CCU) += ccu-sun8i-a83t.o
0577e485 30obj-$(CONFIG_SUN8I_H3_CCU) += ccu-sun8i-h3.o
d0f11d14 31obj-$(CONFIG_SUN8I_V3S_CCU) += ccu-sun8i-v3s.o
763c5bd0 32obj-$(CONFIG_SUN8I_DE2_CCU) += ccu-sun8i-de2.o
cdb8b80b 33obj-$(CONFIG_SUN8I_R_CCU) += ccu-sun8i-r.o
cd030a78 34obj-$(CONFIG_SUN8I_R40_CCU) += ccu-sun8i-r40.o
b8eb71dc 35obj-$(CONFIG_SUN9I_A80_CCU) += ccu-sun9i-a80.o
783ab76a 36obj-$(CONFIG_SUN9I_A80_CCU) += ccu-sun9i-a80-de.o
439b65c4 37obj-$(CONFIG_SUN9I_A80_CCU) += ccu-sun9i-a80-usb.o
06e226c7
SB
38
39# The lib-y file goals is supposed to work only in arch/*/lib or lib/. In our
40# case, we want to use that goal, but even though lib.a will be properly
41# generated, it will not be linked in, eventually resulting in a linker error
42# for missing symbols.
43#
44# We can work around that by explicitly adding lib.a to the obj-y goal. This is
45# an undocumented behaviour, but works well for now.
46obj-$(CONFIG_SUNXI_CCU) += lib.a