2 # (C) Copyright 2000, 2001, 2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 LIB = $(obj)lib$(BOARD).o
13 COBJS-$(CONFIG_STATUS_LED) += led.o
15 COBJS := $(sort $(COBJS-y))
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 #########################################################################