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