2 # Copyright 2008 Extreme Engineering Solutions, Inc.
3 # Copyright 2007 Freescale Semiconductor, Inc.
4 # (C) Copyright 2001-2006
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # SPDX-License-Identifier: GPL-2.0+
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(BOARD).o
19 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
20 OBJS := $(addprefix $(obj),$(COBJS-y))
21 SOBJS := $(addprefix $(obj),$(SOBJS-y))
23 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
24 $(call cmd_link_o_target, $(OBJS))
26 #########################################################################
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
31 sinclude $(obj).depend
33 #########################################################################