2009-06-20 09:01:53 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2009
|
|
|
|
# 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+
|
2009-06-20 09:01:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(SOC).o
|
2009-06-20 09:01:53 +00:00
|
|
|
|
2009-11-16 12:59:25 +00:00
|
|
|
COBJS-y = cpu.o
|
|
|
|
COBJS-y += dram.o
|
2009-06-20 09:01:53 +00:00
|
|
|
COBJS-y += mpp.o
|
|
|
|
COBJS-y += timer.o
|
2012-02-06 17:12:10 +00:00
|
|
|
COBJS-y += cache.o
|
2009-06-20 09:01:53 +00:00
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
|
|
|
|
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2009-06-20 09:01:53 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|