xref: /openbmc/u-boot/board/compulab/cm_t35/Makefile (revision c0dcece7)
1#
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>
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(BOARD).o
13
14COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
15COBJS-$(CONFIG_LCD) += display.o
16
17COBJS	:= cm_t35.o leds.o $(COBJS-y)
18
19SRCS	:= $(COBJS:.o=.c)
20OBJS	:= $(addprefix $(obj),$(COBJS))
21
22$(LIB):	$(obj).depend $(OBJS)
23	$(call cmd_link_o_target, $(OBJS))
24
25#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################
33