blob: 4cd711f1064503c772276852607768c9c9a09be8 [file] [log] [blame]
Andy Fleming67431052007-04-23 02:54:25 -05001#
2# Copyright 2004-2007 Freescale Semiconductor.
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+
Andy Fleming67431052007-04-23 02:54:25 -05007#
8
9include $(TOPDIR)/config.mk
Andy Fleming67431052007-04-23 02:54:25 -050010
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Andy Fleming67431052007-04-23 02:54:25 -050012
Jon Loeligere6f5b352008-03-18 13:51:05 -050013COBJS-y += $(BOARD).o
14COBJS-y += bcsr.o
15COBJS-y += ddr.o
16COBJS-y += law.o
17COBJS-y += tlb.o
Andy Fleming67431052007-04-23 02:54:25 -050018
Jon Loeligere6f5b352008-03-18 13:51:05 -050019SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS-y))
21SOBJS := $(addprefix $(obj),$(SOBJS-y))
Andy Fleming67431052007-04-23 02:54:25 -050022
23$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS))
Andy Fleming67431052007-04-23 02:54:25 -050025
Andy Fleming67431052007-04-23 02:54:25 -050026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################