xref: /openbmc/u-boot/board/xes/xpedite537x/Makefile (revision 1e52fea3)
1#
2# Copyright 2008 Extreme Engineering Solutions, Inc.
3# Copyright 2007 Freescale Semiconductor, Inc.
4# (C) Copyright 2001-2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
7# See file CREDITS for list of people who contributed to this
8# project.
9#
10# This program is free software; you can redistribute it and/or
11# modify it under the terms of the GNU General Public License as
12# published by the Free Software Foundation; either version 2 of
13# the License, or (at your option) any later version.
14#
15
16include $(TOPDIR)/config.mk
17
18LIB	= $(obj)lib$(BOARD).o
19
20COBJS-y	+= $(BOARD).o
21COBJS-y	+= ddr.o
22COBJS-y	+= law.o
23COBJS-y	+= tlb.o
24
25SRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
26OBJS	:= $(addprefix $(obj),$(COBJS-y))
27SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
28
29$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
30	$(call cmd_link_o_target, $(OBJS))
31
32#########################################################################
33
34# defines $(obj).depend target
35include $(SRCTREE)/rules.mk
36
37sinclude $(obj).depend
38
39#########################################################################
40