]>
Commit | Line | Data |
---|---|---|
38b343dd MS |
1 | # |
2 | # (C) Copyright 2000-2003 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
5 | # (C) Copyright 2008 | |
6 | # Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> | |
7 | # | |
1a459660 | 8 | # SPDX-License-Identifier: GPL-2.0+ |
38b343dd MS |
9 | # |
10 | ||
11 | include $(TOPDIR)/config.mk | |
12 | ||
13 | LIB = $(obj)lib$(SOC).o | |
14 | ||
15 | COBJS-y := timer.o | |
16 | COBJS-y += cpu.o | |
59c651f4 | 17 | COBJS-y += slcr.o |
38b343dd MS |
18 | |
19 | COBJS := $(COBJS-y) | |
20 | ||
21 | SRCS := $(COBJS:.o=.c) | |
22 | OBJS := $(addprefix $(obj),$(COBJS)) | |
23 | ||
24 | all: $(obj).depend $(LIB) | |
25 | ||
26 | $(LIB): $(OBJS) | |
27 | $(call cmd_link_o_target, $(OBJS)) | |
28 | ||
29 | ######################################################################### | |
30 | ||
31 | # defines $(obj).depend target | |
32 | include $(SRCTREE)/rules.mk | |
33 | ||
34 | sinclude $(obj).depend | |
35 | ||
36 | ######################################################################### |