blob: 6d07947d51facb34e2eed0a78c4eedd67035643f [file] [log] [blame]
Mike Rapoport36b4e2d2010-12-18 17:43:19 -05001#
Igor Grinberg811acf92013-04-22 01:06:53 +00002# (C) Copyright 2011 - 2013 CompuLab, Ltd. <www.compulab.co.il>
3#
4# Authors: Nikita Kiryanov <nikita@compulab.co.il>
5# Igor Grinberg <grinberg@compulab.co.il>
Mike Rapoport36b4e2d2010-12-18 17:43:19 -05006#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Mike Rapoport36b4e2d2010-12-18 17:43:19 -05008#
Mike Rapoport36b4e2d2010-12-18 17:43:19 -05009
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(BOARD).o
13
Nikita Kiryanov82309252012-01-12 03:26:30 +000014COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
Nikita Kiryanov7878ca52013-01-30 21:39:58 +000015COBJS-$(CONFIG_LCD) += display.o
Nikita Kiryanov82309252012-01-12 03:26:30 +000016
17COBJS := cm_t35.o leds.o $(COBJS-y)
Mike Rapoport36b4e2d2010-12-18 17:43:19 -050018
19SRCS := $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21
22$(LIB): $(obj).depend $(OBJS)
Mike Frysinger26ddff22011-10-18 05:30:17 +000023 $(call cmd_link_o_target, $(OBJS))
Mike Rapoport36b4e2d2010-12-18 17:43:19 -050024
Mike Rapoport36b4e2d2010-12-18 17:43:19 -050025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
Igor Grinberg811acf92013-04-22 01:06:53 +000031
32#########################################################################