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