]>
Commit | Line | Data |
---|---|---|
4dd83490 HS |
1 | # |
2 | # (C) Copyright 2000, 2001, 2002 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
5 | # Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> | |
6 | # | |
1a459660 | 7 | # SPDX-License-Identifier: GPL-2.0+ |
4dd83490 HS |
8 | # |
9 | ||
10 | include $(TOPDIR)/config.mk | |
11 | ||
12 | LIB = $(obj)lib$(BOARD).o | |
13 | ||
14 | COBJS := $(BOARD).o | |
15 | SOBJS := | |
16 | ||
17 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | |
18 | OBJS := $(addprefix $(obj),$(COBJS)) | |
19 | SOBJS := $(addprefix $(obj),$(SOBJS)) | |
20 | ||
21 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) | |
22 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) | |
23 | ||
24 | ######################################################################### | |
25 | # This is for $(obj).depend target | |
26 | include $(SRCTREE)/rules.mk | |
27 | ||
28 | sinclude $(obj).depend | |
29 | ||
30 | ######################################################################### |