blob: 6c1b85b03b436e34985715d03c933d2e4c8d35d1 [file] [log] [blame]
Peter Tyserf3c970c2008-12-23 16:32:00 -06001#
2# Copyright 2008 Extreme Engineering Solutions, Inc.
3# Copyright 2004 Freescale Semiconductor.
4# (C) Copyright 2001-2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Peter Tyserf3c970c2008-12-23 16:32:00 -06008#
9
10include $(TOPDIR)/config.mk
11
Sebastien Carliera8d426f2010-11-05 15:48:07 +010012LIB = $(obj)lib$(BOARD).o
Peter Tyserf3c970c2008-12-23 16:32:00 -060013
14COBJS-y += $(BOARD).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))
Peter Tyserf3c970c2008-12-23 16:32:00 -060025
Peter Tyserf3c970c2008-12-23 16:32:00 -060026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################