2 # (C) Copyright 2011 - 2013 CompuLab, Ltd. <www.compulab.co.il>
4 # Author: Igor Grinberg <grinberg@compulab.co.il>
6 # SPDX-License-Identifier: GPL-2.0+
9 include $(TOPDIR)/config.mk
11 ifneq ($(OBJTREE),$(SRCTREE))
12 $(shell mkdir -p $(obj)board/$(VENDOR)/common)
15 LIB = $(obj)lib$(VENDOR).o
17 COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
18 COBJS-$(CONFIG_LCD) += omap3_display.o
21 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS := $(addprefix $(obj),$(COBJS))
23 SOBJS := $(addprefix $(obj),$(SOBJS))
27 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
28 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
30 #########################################################################
31 # This is for $(obj).depend target
32 include $(SRCTREE)/rules.mk
34 sinclude $(obj).depend
36 #########################################################################