blob: ec318f0b1f0d94e6e08b18b8843c5c828af9decb [file] [log] [blame]
Haiying Wangbd255372009-03-27 17:02:45 -04001#
2# Copyright 2004-2009 Freescale Semiconductor.
3# (C) Copyright 2001-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Haiying Wangbd255372009-03-27 17:02:45 -04007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carliera8d426f2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Haiying Wangbd255372009-03-27 17:02:45 -040012
13COBJS-y += $(BOARD).o
14COBJS-y += bcsr.o
15COBJS-y += ddr.o
16COBJS-y += law.o
17COBJS-y += tlb.o
18
19SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS-y))
21SOBJS := $(addprefix $(obj),$(SOBJS-y))
22
23$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS))
Haiying Wangbd255372009-03-27 17:02:45 -040025
Haiying Wangbd255372009-03-27 17:02:45 -040026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################