2010-12-18 22:43:19 +00:00
|
|
|
#
|
2013-04-22 01:06:53 +00:00
|
|
|
# (C) Copyright 2011 - 2013 CompuLab, Ltd. <www.compulab.co.il>
|
|
|
|
#
|
|
|
|
# Authors: Nikita Kiryanov <nikita@compulab.co.il>
|
|
|
|
# Igor Grinberg <grinberg@compulab.co.il>
|
2010-12-18 22:43:19 +00:00
|
|
|
#
|
|
|
|
# See file CREDITS for list of people who contributed to this
|
|
|
|
# project.
|
|
|
|
#
|
|
|
|
# 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
|
2013-04-22 01:06:53 +00:00
|
|
|
# Foundation, Inc.
|
2010-12-18 22:43:19 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
2012-01-12 03:26:30 +00:00
|
|
|
COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
|
2013-01-30 21:39:58 +00:00
|
|
|
COBJS-$(CONFIG_LCD) += display.o
|
2012-01-12 03:26:30 +00:00
|
|
|
|
|
|
|
COBJS := cm_t35.o leds.o $(COBJS-y)
|
2010-12-18 22:43:19 +00:00
|
|
|
|
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2011-10-18 05:30:17 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2010-12-18 22:43:19 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
2013-04-22 01:06:53 +00:00
|
|
|
|
|
|
|
#########################################################################
|