]>
Commit | Line | Data |
---|---|---|
23608e23 JL |
1 | # |
2 | # (C) Copyright 2000-2006 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
5 | # (C) Copyright 2011 Freescale Semiconductor, Inc. | |
6 | # | |
1a459660 | 7 | # SPDX-License-Identifier: GPL-2.0+ |
23608e23 JL |
8 | # |
9 | ||
10 | include $(TOPDIR)/config.mk | |
11 | ||
12 | LIB = $(obj)lib$(SOC).o | |
13 | ||
18c0ad27 | 14 | COBJS = soc.o clock.o |
23608e23 JL |
15 | |
16 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
17 | OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) | |
18 | ||
19 | all: $(obj).depend $(LIB) | |
20 | ||
21 | $(LIB): $(OBJS) | |
22 | $(call cmd_link_o_target, $(OBJS)) | |
23 | ||
24 | ######################################################################### | |
25 | ||
26 | # defines $(obj).depend target | |
27 | include $(SRCTREE)/rules.mk | |
28 | ||
29 | sinclude $(obj).depend | |
30 | ||
31 | ######################################################################### |