blob: 2ff74f9d1f91d8a42ed05743904fba058ef3b966 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001PREFIX = ../install
2CROSS = arm-none-linux-
3ROOT = $(PREFIX)/$(CROSS:%-=%)
4
5#For Yocto use
6
7RFX_TEST_CLIENT = false
8RFX_TEST_AOSP = false
9
10$(warning ########## libvendor_ril BB_TELEFWK_OPTION $(BB_TELEFWK_OPTION) ##########)
11
12
13
14SUBDIRS += lynq-riltel
15
16
17
18
19
20$(warning ########## lynq-rilcmd SUBDIRS $(SUBDIRS) ##########)
21export SIM_COUNT?=1
22
23.PHONY: all build clean pack_rootfs
24
25all: build
26
27build: clean
28
29clean:
30 $(warning ########## clean ril ##########)
31 for i in $(SUBDIRS); do \
32 (cd $$i && make clean); \
33 if [ $$? != 0 ]; then \
34 exit 1; \
35 fi \
36 done
37
38build:
39 $(warning ########## build ril ##########)
40 for i in $(SUBDIRS); do \
41 (cd $$i && make); \
42 if [ $$? != 0 ]; then \
43 exit 1; \
44 fi \
45 done
46
47install:
48 $(warning ########## install ril ##########)
49 for i in $(SUBDIRS); do \
50 (cd $$i && make install); \
51 if [ $$? != 0 ]; then \
52 exit 1; \
53 fi \
54 done
55
56pack_rootfs:
57 $(warning ########## pack_rootfs ril ##########)
58 for i in $(SUBDIRS); do \
59 (cd $$i && make pack_rootfs); \
60 if [ $$? != 0 ]; then \
61 exit 1; \
62 fi \
63 done