]>
git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/power/Makefile
2 # Copyright (c) 2009 Wind River Systems, Inc.
3 # Tom Rix <Tom.Rix at windriver.com>
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR
)/config.mk
10 LIB
:= $(obj
)libpower.o
12 COBJS-
$(CONFIG_EXYNOS_TMU
) += exynos-tmu.o
13 COBJS-
$(CONFIG_FTPMU010_POWER
) += ftpmu010.o
14 COBJS-
$(CONFIG_TPS6586X_POWER
) += tps6586x.o
15 COBJS-
$(CONFIG_TWL4030_POWER
) += twl4030.o
16 COBJS-
$(CONFIG_TWL6030_POWER
) += twl6030.o
17 COBJS-
$(CONFIG_PALMAS_POWER
) += palmas.o
19 COBJS-
$(CONFIG_POWER
) += power_core.o
20 COBJS-
$(CONFIG_DIALOG_POWER
) += power_dialog.o
21 COBJS-
$(CONFIG_POWER_FSL
) += power_fsl.o
22 COBJS-
$(CONFIG_POWER_I2C
) += power_i2c.o
23 COBJS-
$(CONFIG_POWER_SPI
) += power_spi.o
26 SRCS
:= $(COBJS
:.o
=.c
)
27 OBJS
:= $(addprefix $(obj
),$(COBJS
))
31 $(LIB
): $(obj
).depend
$(OBJS
)
32 $(call cmd_link_o_target
, $(OBJS
))
35 #########################################################################
37 # defines $(obj).depend target
38 include $(SRCTREE
)/rules.mk
40 sinclude
$(obj
).depend
42 ########################################################################