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