2 # (C) Copyright 2013 Freescale Semiconductor, Inc.
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License as
6 # published by the Free Software Foundation; either version 2 of
7 # the License, or (at your option) any later version.
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(BOARD).o
16 SRCS := $(COBJS:.o=.c)
17 OBJS := $(addprefix $(obj),$(COBJS))
19 $(LIB): $(obj).depend $(OBJS)
20 $(call cmd_link_o_target, $(OBJS))
22 #########################################################################
24 # defines $(obj).depend target
25 include $(SRCTREE)/rules.mk
27 sinclude $(obj).depend
29 #########################################################################