]>
Commit | Line | Data |
---|---|---|
f5e2466f NI |
1 | # |
2 | # Copyright (C) 2007,2008 | |
3 | # Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
f5e2466f NI |
6 | # |
7 | include $(TOPDIR)/config.mk | |
8 | ||
6d8962e8 | 9 | LIB = $(obj)lib$(BOARD).o |
f5e2466f | 10 | |
9e23fe05 | 11 | COBJS := r2dplus.o |
f5e2466f NI |
12 | SOBJS := lowlevel_init.o |
13 | ||
a30cc5a3 WD |
14 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
15 | OBJS := $(addprefix $(obj),$(COBJS)) | |
16 | SOBJS := $(addprefix $(obj),$(SOBJS)) | |
17 | ||
f5e2466f | 18 | $(LIB): $(OBJS) $(SOBJS) |
6d8962e8 | 19 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
f5e2466f | 20 | |
a30cc5a3 | 21 | ######################################################################### |
f5e2466f | 22 | |
a30cc5a3 WD |
23 | # defines $(obj).depend target |
24 | include $(SRCTREE)/rules.mk | |
f5e2466f | 25 | |
a30cc5a3 | 26 | sinclude $(obj).depend |
f5e2466f | 27 | |
a30cc5a3 | 28 | ######################################################################### |