2010-10-12 11:01:40 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2010
|
|
|
|
# Marvell Semiconductor <www.marvell.com>
|
|
|
|
# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-10-12 11:01:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(SOC).o
|
|
|
|
|
|
|
|
COBJS-y = cpu.o timer.o dram.o
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
|
|
|
|
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
2011-10-18 05:30:17 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2010-10-12 11:01:40 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|