Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 1 | # |
Igor Grinberg | 811acf9 | 2013-04-22 01:06:53 +0000 | [diff] [blame] | 2 | # (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 Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 6 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 8 | # |
Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 9 | |
| 10 | include $(TOPDIR)/config.mk |
| 11 | |
| 12 | LIB = $(obj)lib$(BOARD).o |
| 13 | |
Nikita Kiryanov | 8230925 | 2012-01-12 03:26:30 +0000 | [diff] [blame] | 14 | COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o |
Nikita Kiryanov | 7878ca5 | 2013-01-30 21:39:58 +0000 | [diff] [blame] | 15 | COBJS-$(CONFIG_LCD) += display.o |
Nikita Kiryanov | 8230925 | 2012-01-12 03:26:30 +0000 | [diff] [blame] | 16 | |
| 17 | COBJS := cm_t35.o leds.o $(COBJS-y) |
Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 18 | |
| 19 | SRCS := $(COBJS:.o=.c) |
| 20 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 21 | |
| 22 | $(LIB): $(obj).depend $(OBJS) |
Mike Frysinger | 26ddff2 | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 23 | $(call cmd_link_o_target, $(OBJS)) |
Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 24 | |
Mike Rapoport | 36b4e2d | 2010-12-18 17:43:19 -0500 | [diff] [blame] | 25 | ######################################################################### |
| 26 | |
| 27 | # defines $(obj).depend target |
| 28 | include $(SRCTREE)/rules.mk |
| 29 | |
| 30 | sinclude $(obj).depend |
Igor Grinberg | 811acf9 | 2013-04-22 01:06:53 +0000 | [diff] [blame] | 31 | |
| 32 | ######################################################################### |