2 # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
4 # Based on original Kirkwood support which is
6 # Marvell Semiconductor <www.marvell.com>
7 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)lib$(SOC).o
20 ifndef CONFIG_SKIP_LOWLEVEL_INIT
21 SOBJS := lowlevel_init.o
24 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
25 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
27 all: $(obj).depend $(LIB)
30 $(call cmd_link_o_target, $(OBJS))
32 #########################################################################
34 # defines $(obj).depend target
35 include $(SRCTREE)/rules.mk
37 sinclude $(obj).depend
39 #########################################################################