blob: 0967b2842084184a9b4eea9d71b421d5562501f0 [file] [log] [blame]
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -05001#
2# Copyright 2007-2009 Freescale Semiconductor, Inc.
3# (C) Copyright 2001-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -05007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -050012
13COBJS-y += $(BOARD).o
14COBJS-y += ddr.o
15COBJS-y += law.o
16COBJS-y += tlb.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS-y))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010023 $(call cmd_link_o_target, $(OBJS))
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -050024
Srikanth Srinivasanfeb78382009-04-03 15:36:13 -050025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################