blob: 46e412b9236b3cbe4ab29007a1ee1110c03b4426 [file] [log] [blame]
wdenk9c53f402003-10-15 23:53:47 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2001-2006
wdenk9c53f402003-10-15 23:53:47 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk9c53f402003-10-15 23:53:47 +00006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
wdenk9c53f402003-10-15 23:53:47 +000011
Jon Loeliger99d50712008-03-18 11:12:44 -050012COBJS-y += $(BOARD).o
13COBJS-y += ddr.o
14COBJS-y += law.o
15COBJS-y += tlb.o
wdenk9c53f402003-10-15 23:53:47 +000016
Jon Loeliger99d50712008-03-18 11:12:44 -050017SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS-y))
19SOBJS := $(addprefix $(obj),$(SOBJS-y))
Marian Balakowiczd62379d2006-09-01 19:49:50 +020020
21$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS))
wdenk9c53f402003-10-15 23:53:47 +000023
wdenk9c53f402003-10-15 23:53:47 +000024#########################################################################
25
Marian Balakowiczd62379d2006-09-01 19:49:50 +020026# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
wdenk9c53f402003-10-15 23:53:47 +000028
Marian Balakowiczd62379d2006-09-01 19:49:50 +020029sinclude $(obj).depend
wdenk9c53f402003-10-15 23:53:47 +000030
31#########################################################################