2 # (C) Copyright 2000-2006
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$(SOC).o
12 COBJS = cpu.o clk.o devices.o timer.o
14 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15 OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
17 all: $(obj).depend $(LIB)
20 $(call cmd_link_o_target, $(OBJS))
22 #########################################################################
24 # defines $(obj).depend target
25 include $(SRCTREE)/rules.mk
27 sinclude $(obj).depend
29 #########################################################################