2 # (C) Copyright 2011 - 2013 CompuLab, Ltd. <www.compulab.co.il>
4 # Authors: Nikita Kiryanov <nikita@compulab.co.il>
5 # Igor Grinberg <grinberg@compulab.co.il>
7 # SPDX-License-Identifier: GPL-2.0+
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(BOARD).o
14 COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
15 COBJS-$(CONFIG_LCD) += display.o
17 COBJS := cm_t35.o leds.o $(COBJS-y)
19 SRCS := $(COBJS:.o=.c)
20 OBJS := $(addprefix $(obj),$(COBJS))
22 $(LIB): $(obj).depend $(OBJS)
23 $(call cmd_link_o_target, $(OBJS))
25 #########################################################################
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
30 sinclude $(obj).depend
32 #########################################################################