]>
git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/bootcount/Makefile
2 # SPDX-License-Identifier: GPL-2.0+
5 include $(TOPDIR
)/config.mk
7 LIB
:= $(obj
)libbootcount.o
10 COBJS-
$(CONFIG_AT91SAM9XE
) += bootcount_at91.o
11 COBJS-
$(CONFIG_BLACKFIN
) += bootcount_blackfin.o
12 COBJS-
$(CONFIG_SOC_DA8XX
) += bootcount_davinci.o
13 COBJS-
$(CONFIG_BOOTCOUNT_RAM
) += bootcount_ram.o
16 SRCS
:= $(COBJS
:.o
=.c
)
17 OBJS
:= $(addprefix $(obj
),$(COBJS
))
19 $(LIB
): $(obj
).depend
$(OBJS
)
20 $(call cmd_link_o_target
, $(OBJS
))
22 #########################################################################
24 # defines $(obj).depend target
25 include $(SRCTREE
)/rules.mk
27 sinclude
$(obj
).depend
29 ########################################################################