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_LCD) += display.o
16 COBJS := cm_t35.o leds.o $(COBJS-y)
18 SRCS := $(COBJS:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS))
21 $(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
24 #########################################################################
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
29 sinclude $(obj).depend
31 #########################################################################