#
# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
#
# (C) Copyright 2013 Robert Bosch Car Multimedia GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#

include $(TOPDIR)/config.mk

LIB    = $(obj)lib$(BOARD).o

COBJS	:= board.o \
	common_config.o \
	boot_opt.o \
	../mx6qvrnsb1/vrnsb1_config.o \
	../mx6qvrnsb2/vrnsb2_config.o \
	../mx6my16a/my16a_config.o \
	../mx6my16b1/my16b1_config.o \
	../mx6qicama1/icama1_config.o \
	../mx6icamb1/icamb1_config.o \
	../mx6icamb2/icamb2_config.o \
	../mx6icamc1/icamc1_config.o \
	../mx6icamc3/icamc3_config.o \
	../mx6vwmibb0/vwmibb0_config.o \
	../mx6vwmibb/vwmibb_config.o \
	../mx6vwmibc0/vwmibc0_config.o \
	../mx6suzukislnc/suzukislnc_config.o \
	../mx6jacc2b3/jacc2b3_config.o \
	../mx6jacc2c/jacc2c_config.o \
	../mx6jacc2d/jacc2d_config.o \
	../mx6psarccb2/psarccb2_config.o \
	../mx6nissanaivia/nissanaivia_config.o \
	../mx6psarccb3/psarccb3_config.o \
	../mx6enaa/enaa_config.o \
	../mx6jacm6b0/jacm6b0_config.o

SRCS   := $(COBJS:.o=.c)
OBJS   := $(addprefix $(obj),$(COBJS))

$(LIB):        $(obj).depend $(OBJS)
	$(call cmd_link_o_target, $(OBJS))

#########################################################################

# defines $(obj).depend target
include $(SRCTREE)/rules.mk

sinclude $(obj).depend

#########################################################################
