1#
2# Copyright 2004-2009 Freescale Semiconductor.
3# (C) Copyright 2001-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
6# SPDX-License-Identifier:	GPL-2.0+
7#
8
9include $(TOPDIR)/config.mk
10
11LIB	= $(obj)lib$(BOARD).o
12
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)
24	$(call cmd_link_o_target, $(OBJS))
25
26#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################
34