1415a613bSKumar Gala#
2415a613bSKumar Gala# Copyright 2004 Freescale Semiconductor.
3415a613bSKumar Gala# (C) Copyright 2001-2006
4415a613bSKumar Gala# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5415a613bSKumar Gala#
6*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
7415a613bSKumar Gala#
8415a613bSKumar Gala
9415a613bSKumar Galainclude $(TOPDIR)/config.mk
10415a613bSKumar Gala
116d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
12415a613bSKumar Gala
1325eedb2cSJon LoeligerCOBJS-y	+= $(BOARD).o
14e31d2c1eSJon LoeligerCOBJS-y	+= ddr.o
1525eedb2cSJon LoeligerCOBJS-y	+= law.o
1625eedb2cSJon LoeligerCOBJS-y	+= tlb.o
17415a613bSKumar Gala
1825eedb2cSJon LoeligerSRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
1925eedb2cSJon LoeligerOBJS	:= $(addprefix $(obj),$(COBJS-y))
2025eedb2cSJon LoeligerSOBJS	:= $(addprefix $(obj),$(SOBJS-y))
21415a613bSKumar Gala
22415a613bSKumar Gala$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
236d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
24415a613bSKumar Gala
25415a613bSKumar Gala#########################################################################
26415a613bSKumar Gala
27415a613bSKumar Gala# defines $(obj).depend target
28415a613bSKumar Galainclude $(SRCTREE)/rules.mk
29415a613bSKumar Gala
30415a613bSKumar Galasinclude $(obj).depend
31415a613bSKumar Gala
32415a613bSKumar Gala#########################################################################
33