blob: 1a924ec67945b44d395a0612bd6cb87451fd13d8 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# ZTE (C) Copyright 2014
3# Author: YinWenguan
4#
5#
6
7include $(TOPDIR)/config.mk
8
9LIB := $(obj)liblcd.o
10
11ifeq ($(CONFIG_ZX297520V3E_MIFI_MINI_XR819),y)
12COBJS-y += lcd_comm_array.o
13COBJS-y += lcd_res_128x128.o
14else
15COBJS-y += lcd_comm.o
16endif
17
18COBJS-$(CONFIG_ZX297520V3E_MIFI) += lcd_prj_mifi.o
19COBJS-$(CONFIG_ZX297520V3E_FWP) += lcd_prj.o
20COBJS-$(CONFIG_ZX297520V3E_MIFI_MINI) += lcd_prj_mifi_mini.o
21COBJS-$(CONFIG_ZX297520V3E_MIFI_MINI_XR819) += lcd_prj_mifi_mini_xr819.o
22COBJS-$(CONFIG_ZX297520V3E_PHONE) += lcd_prj_phone.o
23COBJS-$(CONFIG_ZX297520V3E_WATCH) += lcd_prj_watch.o
24COBJS-$(CONFIG_ZX297520V3E_WATCH_CAP) += lcd_prj_watch.o
25
26COBJS := $(sort $(COBJS-y))
27SRCS := $(COBJS:.o=.c)
28OBJS := $(addprefix $(obj),$(COBJS))
29
30all: $(LIB)
31
32$(LIB): $(obj).depend $(OBJS)
33 $(call cmd_link_o_target, $(OBJS))
34
35#########################################################################
36
37# defines $(obj).depend target
38include $(SRCTREE)/rules.mk
39
40sinclude $(obj).depend
41
42#########################################################################