blob: 1a924ec67945b44d395a0612bd6cb87451fd13d8 [file] [log] [blame]
#
# ZTE (C) Copyright 2014
# Author: YinWenguan
#
#
include $(TOPDIR)/config.mk
LIB := $(obj)liblcd.o
ifeq ($(CONFIG_ZX297520V3E_MIFI_MINI_XR819),y)
COBJS-y += lcd_comm_array.o
COBJS-y += lcd_res_128x128.o
else
COBJS-y += lcd_comm.o
endif
COBJS-$(CONFIG_ZX297520V3E_MIFI) += lcd_prj_mifi.o
COBJS-$(CONFIG_ZX297520V3E_FWP) += lcd_prj.o
COBJS-$(CONFIG_ZX297520V3E_MIFI_MINI) += lcd_prj_mifi_mini.o
COBJS-$(CONFIG_ZX297520V3E_MIFI_MINI_XR819) += lcd_prj_mifi_mini_xr819.o
COBJS-$(CONFIG_ZX297520V3E_PHONE) += lcd_prj_phone.o
COBJS-$(CONFIG_ZX297520V3E_WATCH) += lcd_prj_watch.o
COBJS-$(CONFIG_ZX297520V3E_WATCH_CAP) += lcd_prj_watch.o
COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
$(call cmd_link_o_target, $(OBJS))
#########################################################################
# defines $(obj).depend target
include $(SRCTREE)/rules.mk
sinclude $(obj).depend
#########################################################################