-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile-product
57 lines (52 loc) · 1.46 KB
/
Makefile-product
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# FOR AUDIO
ifeq ($(CONFIG_AUDIO_ENABLE), y)
ifeq ($(CONFIG_PRODUCTNAME),"gk7205v200")
libs-y += product/audio/acodec/v750/
libs-y += product/audio/ao/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7205v300")
libs-y += product/audio/acodec/v750/
libs-y += product/audio/ao/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7202v300")
libs-y += product/audio/acodec/v750/
libs-y += product/audio/ao/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7605v100")
libs-y += product/audio/acodec/v750/
libs-y += product/audio/ao/gk7205v200/
endif
endif
ifeq ($(CONFIG_OSD_ENABLE),y)
# FOR DEC of all chip
ifneq ($(CONFIG_PRODUCTNAME),"gk7205v200")
ifneq ($(CONFIG_PRODUCTNAME),"gk7205v300")
ifneq ($(CONFIG_PRODUCTNAME),"gk7202v300")
ifneq ($(CONFIG_PRODUCTNAME),"gk7605v100")
libs-y += ./product/osd/dec/
endif
endif
endif
endif
# FOR VO,HDMI,MIPI_Tx
ifeq ($(CONFIG_PRODUCTNAME),"gk7205v300")
libs-y += ./product/osd/vo/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7205v200")
libs-y += ./product/osd/vo/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7202v300")
libs-y += ./product/osd/vo/gk7205v200/
else ifeq ($(CONFIG_PRODUCTNAME),"gk7605v100")
libs-y += ./product/osd/vo/gk7205v200/
else
$(warning "warning: "$(CONFIG_PRODUCTNAME)" is invalid")
endif
endif
ifndef CONFIG_MINI_BOOT
ifdef CONFIG_CIPHER_ENABLE
libs-y += product/otp/
libs-y += product/cipher/
endif
endif
ifeq ($(CONFIG_AUTO_UPDATE),y)
libs-y += product/update/
endif
ifeq ($(CONFIG_GK_I2C),y)
libs-y += product/i2c/
endif