2 # (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
4 # See file CREDITS for list of people who contributed to this
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License as
9 # published by the Free Software Foundation; either version 2 of
10 # the License, or (at your option) any later version.
13 include $(TOPDIR)/config.mk
15 LIB = $(obj)lib$(BOARD).o
20 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
21 OBJS := $(addprefix $(obj),$(COBJS))
22 SOBJS := $(addprefix $(obj),$(SOBJS))
24 $(LIB): $(obj).depend $(OBJS)
25 $(call cmd_link_o_target, $(OBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################