2 # Copyright (C) 2007,2008
3 # Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5 # SPDX-License-Identifier: GPL-2.0+
7 include $(TOPDIR)/config.mk
9 LIB = $(obj)lib$(BOARD).o
12 SOBJS := lowlevel_init.o
14 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15 OBJS := $(addprefix $(obj),$(COBJS))
16 SOBJS := $(addprefix $(obj),$(SOBJS))
18 $(LIB): $(OBJS) $(SOBJS)
19 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
21 #########################################################################
23 # defines $(obj).depend target
24 include $(SRCTREE)/rules.mk
26 sinclude $(obj).depend
28 #########################################################################