]>
Commit | Line | Data |
---|---|---|
f9913a8e YS |
1 | # |
2 | # (C) Copyright 2000-2006 | |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
4 | # | |
5 | # (C) Copyright 2007 | |
6 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | |
7 | # | |
8 | # (C) Copyright 2007 | |
9 | # Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | |
10 | # | |
1a459660 | 11 | # SPDX-License-Identifier: GPL-2.0+ |
f9913a8e YS |
12 | # |
13 | ||
14 | include $(TOPDIR)/config.mk | |
15 | ||
6d8962e8 | 16 | LIB = $(obj)lib$(CPU).o |
f9913a8e | 17 | |
a30cc5a3 | 18 | SOBJS = start.o |
e9d5f354 | 19 | COBJS = cpu.o interrupts.o watchdog.o cache.o |
f9913a8e | 20 | |
a30cc5a3 WD |
21 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
22 | OBJS := $(addprefix $(obj),$(COBJS)) | |
23 | SOBJS := $(addprefix $(obj),$(SOBJS)) | |
f9913a8e | 24 | |
a30cc5a3 | 25 | $(LIB): $(OBJS) $(SOBJS) |
6d8962e8 | 26 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
a30cc5a3 | 27 | |
f9913a8e YS |
28 | ######################################################################### |
29 | ||
a30cc5a3 WD |
30 | # defines $(obj).depend target |
31 | include $(SRCTREE)/rules.mk | |
f9913a8e | 32 | |
a30cc5a3 | 33 | sinclude $(obj).depend |
f9913a8e YS |
34 | |
35 | ######################################################################### |