]>
Commit | Line | Data |
---|---|---|
211ea91a SR |
1 | # |
2 | # (C) Copyright 2007 | |
3 | # Stefan Roese, DENX Software Engineering, sr@denx.de. | |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
211ea91a SR |
6 | # |
7 | ||
8 | include $(TOPDIR)/config.mk | |
9 | ||
6d8962e8 | 10 | LIB = $(obj)lib$(BOARD).o |
211ea91a | 11 | |
8a24c07b | 12 | COBJS = $(BOARD).o cmd_pll.o |
211ea91a SR |
13 | SOBJS = init.o |
14 | ||
53677ef1 | 15 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
211ea91a SR |
16 | OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) |
17 | ||
18 | $(LIB): $(obj).depend $(OBJS) | |
6d8962e8 | 19 | $(call cmd_link_o_target, $(OBJS)) |
211ea91a | 20 | |
211ea91a SR |
21 | ######################################################################### |
22 | ||
23 | # defines $(obj).depend target | |
24 | include $(SRCTREE)/rules.mk | |
25 | ||
26 | sinclude $(obj).depend | |
27 | ||
28 | ######################################################################### |