blob: 53ffaf285694d710a7231cb0b89564d160d495cb [file] [log] [blame]
Ilya Yanok416a41f2009-06-08 04:12:45 +04001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Ilya Yanok416a41f2009-06-08 04:12:45 +04006
7include $(TOPDIR)/config.mk
8
Sebastien Carliera8d426f2010-11-05 15:48:07 +01009LIB = $(obj)lib$(SOC).o
Ilya Yanok416a41f2009-06-08 04:12:45 +040010
11COBJS = generic.o reset.o timer.o
12
13SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
14OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
15
16all: $(obj).depend $(LIB)
17
18$(LIB): $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS))
Ilya Yanok416a41f2009-06-08 04:12:45 +040020
Ilya Yanok416a41f2009-06-08 04:12:45 +040021#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################