Stefan Roese | 05d10b5 | 2013-04-17 00:32:43 +0000 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | include $(TOPDIR)/config.mk |
| 18 | |
| 19 | LIB = $(obj)lib$(BOARD).o |
| 20 | |
| 21 | COBJS := titanium.o |
| 22 | |
| 23 | SRCS := $(COBJS:.o=.c) |
| 24 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 25 | |
| 26 | $(LIB): $(obj).depend $(OBJS) |
| 27 | $(call cmd_link_o_target, $(OBJS)) |
| 28 | |
| 29 | ######################################################################### |
| 30 | |
| 31 | # defines $(obj).depend target |
| 32 | include $(SRCTREE)/rules.mk |
| 33 | |
| 34 | sinclude $(obj).depend |
| 35 | |
| 36 | ######################################################################### |