forked from Jieli-Tech/fw-AC63_BT_SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
142 lines (103 loc) · 4.49 KB
/
Makefile
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# 总的 Makefile,用于调用目录下各个子工程对应的 Makefile
# 注意: Linux 下编译方式:
# 1. 从 http://pkgman.jieliapp.com/doc/all 处找到下载链接
# 2. 下载后,解压到 /opt/jieli 目录下,保证
# /opt/jieli/common/bin/clang 存在(注意目录层次)
# 3. 确认 ulimit -n 的结果足够大(建议大于8096),否则链接可能会因为打开文件太多而失败
# 可以通过 ulimit -n 8096 来设置一个较大的值
# 支持的目标
# make ac632n_hid
# make ac631n_hid
# make ac638n_hid
# make ac635n_hid
# make ac637n_hid
# make ac636n_hid
# make ac632n_mesh
# make ac631n_mesh
# make ac638n_mesh
# make ac635n_mesh
# make ac637n_mesh
# make ac636n_mesh
# make ac632n_spp_and_le
# make ac631n_spp_and_le
# make ac638n_spp_and_le
# make ac635n_spp_and_le
# make ac637n_spp_and_le
# make ac636n_spp_and_le
.PHONY: all clean ac632n_hid ac631n_hid ac638n_hid ac635n_hid ac637n_hid ac636n_hid ac632n_mesh ac631n_mesh ac638n_mesh ac635n_mesh ac637n_mesh ac636n_mesh ac632n_spp_and_le ac631n_spp_and_le ac638n_spp_and_le ac635n_spp_and_le ac637n_spp_and_le ac636n_spp_and_le clean_ac632n_hid clean_ac631n_hid clean_ac638n_hid clean_ac635n_hid clean_ac637n_hid clean_ac636n_hid clean_ac632n_mesh clean_ac631n_mesh clean_ac638n_mesh clean_ac635n_mesh clean_ac637n_mesh clean_ac636n_mesh clean_ac632n_spp_and_le clean_ac631n_spp_and_le clean_ac638n_spp_and_le clean_ac635n_spp_and_le clean_ac637n_spp_and_le clean_ac636n_spp_and_le
all: ac632n_hid ac631n_hid ac638n_hid ac635n_hid ac637n_hid ac636n_hid ac632n_mesh ac631n_mesh ac638n_mesh ac635n_mesh ac637n_mesh ac636n_mesh ac632n_spp_and_le ac631n_spp_and_le ac638n_spp_and_le ac635n_spp_and_le ac637n_spp_and_le ac636n_spp_and_le
@echo +ALL DONE
clean: clean_ac632n_hid clean_ac631n_hid clean_ac638n_hid clean_ac635n_hid clean_ac637n_hid clean_ac636n_hid clean_ac632n_mesh clean_ac631n_mesh clean_ac638n_mesh clean_ac635n_mesh clean_ac637n_mesh clean_ac636n_mesh clean_ac632n_spp_and_le clean_ac631n_spp_and_le clean_ac638n_spp_and_le clean_ac635n_spp_and_le clean_ac637n_spp_and_le clean_ac636n_spp_and_le
@echo +CLEAN DONE
ac632n_hid:
$(MAKE) -C apps/hid/board/bd19 -f Makefile
clean_ac632n_hid:
$(MAKE) -C apps/hid/board/bd19 -f Makefile clean
ac631n_hid:
$(MAKE) -C apps/hid/board/bd29 -f Makefile
clean_ac631n_hid:
$(MAKE) -C apps/hid/board/bd29 -f Makefile clean
ac638n_hid:
$(MAKE) -C apps/hid/board/br34 -f Makefile
clean_ac638n_hid:
$(MAKE) -C apps/hid/board/br34 -f Makefile clean
ac635n_hid:
$(MAKE) -C apps/hid/board/br23 -f Makefile
clean_ac635n_hid:
$(MAKE) -C apps/hid/board/br23 -f Makefile clean
ac637n_hid:
$(MAKE) -C apps/hid/board/br30 -f Makefile
clean_ac637n_hid:
$(MAKE) -C apps/hid/board/br30 -f Makefile clean
ac636n_hid:
$(MAKE) -C apps/hid/board/br25 -f Makefile
clean_ac636n_hid:
$(MAKE) -C apps/hid/board/br25 -f Makefile clean
ac632n_mesh:
$(MAKE) -C apps/mesh/board/bd19 -f Makefile
clean_ac632n_mesh:
$(MAKE) -C apps/mesh/board/bd19 -f Makefile clean
ac631n_mesh:
$(MAKE) -C apps/mesh/board/bd29 -f Makefile
clean_ac631n_mesh:
$(MAKE) -C apps/mesh/board/bd29 -f Makefile clean
ac638n_mesh:
$(MAKE) -C apps/mesh/board/br34 -f Makefile
clean_ac638n_mesh:
$(MAKE) -C apps/mesh/board/br34 -f Makefile clean
ac635n_mesh:
$(MAKE) -C apps/mesh/board/br23 -f Makefile
clean_ac635n_mesh:
$(MAKE) -C apps/mesh/board/br23 -f Makefile clean
ac637n_mesh:
$(MAKE) -C apps/mesh/board/br30 -f Makefile
clean_ac637n_mesh:
$(MAKE) -C apps/mesh/board/br30 -f Makefile clean
ac636n_mesh:
$(MAKE) -C apps/mesh/board/br25 -f Makefile
clean_ac636n_mesh:
$(MAKE) -C apps/mesh/board/br25 -f Makefile clean
ac632n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/bd19 -f Makefile
clean_ac632n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/bd19 -f Makefile clean
ac631n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/bd29 -f Makefile
clean_ac631n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/bd29 -f Makefile clean
ac638n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br34 -f Makefile
clean_ac638n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br34 -f Makefile clean
ac635n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br23 -f Makefile
clean_ac635n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br23 -f Makefile clean
ac637n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br30 -f Makefile
clean_ac637n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br30 -f Makefile clean
ac636n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br25 -f Makefile
clean_ac636n_spp_and_le:
$(MAKE) -C apps/spp_and_le/board/br25 -f Makefile clean