blob: 46827f8183c7909d0e71e49a38d6ac7ce98b2293 [file] [log] [blame]
Stefan Roese05d10b52013-04-17 00:32:43 +00001#
2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3#
4# (C) Copyright 2011 Freescale Semiconductor, Inc.
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License as
8# published by the Free Software Foundation; either version 2 of
9# the License, or (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16
17include $(TOPDIR)/config.mk
18
19LIB = $(obj)lib$(BOARD).o
20
21COBJS := titanium.o
22
23SRCS := $(COBJS:.o=.c)
24OBJS := $(addprefix $(obj),$(COBJS))
25
26$(LIB): $(obj).depend $(OBJS)
27 $(call cmd_link_o_target, $(OBJS))
28
29#########################################################################
30
31# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
33
34sinclude $(obj).depend
35
36#########################################################################