blob: b4c27d1277ffa80a2aa5706173228281f2e0e6d5 [file] [log] [blame]
wz.wang4cbe62b2024-06-28 11:28:43 +08001AP_PRJ ?= prj_cpe_min
2BOOT_PRJ ?= ufi_mini
3PACK_PRJ ?= prj_cpe
4RF_TYPE ?= 230A
5DCXO ?= yes
wz.wang6c460702024-07-01 10:20:35 +08006PATH_PRJ ?= lynq/CPE
wz.wang4cbe62b2024-06-28 11:28:43 +08007
8.PHONY:all
9all:copy boot ap pack
10 @echo OK
11.PHONY:pack
12pack:
13 make -C allbins/zx297520v3/$(PACK_PRJ)/scripts_linux/
14.PHONY:boot
15boot:
16 make -C boot/prj/zx297520v3/$(BOOT_PRJ)/build/ allclean all
17.PHONY:ap
18ap:
19 make -C ap/project/zx297520v3/$(AP_PRJ)/build/ allclean all RF_TYPE=$(RF_TYPE) DCXO=$(DCXO)
20.PHONY:ap_normal2
21ap_normal2:
22 make -C ap/project/zx297520v3/$(AP_PRJ)/build/ normal2 RF_TYPE=$(RF_TYPE) DCXO=$(DCXO)
23.PHONY:copy
24copy:
wz.wang6c460702024-07-01 10:20:35 +080025 cp -rf $(PATH_PRJ)/* .
wz.wang4cbe62b2024-06-28 11:28:43 +080026.PHONY:help
27help:
wz.wang6c460702024-07-01 10:20:35 +080028 @echo example prj_cpe_min : make or make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/CPE
zw.wangbd896262024-07-22 18:04:13 +080029 @echo example prj_cpe_aic8800dw : make AP_PRJ=prj_cpe PATH_PRJ=lynq/CPE_AIC8800DW
wz.wang6c460702024-07-01 10:20:35 +080030 @echo example prj_mifi_min_aic8800dw : make AP_PRJ=prj_mifi_min_aic8800dw BOOT_PRJ=mifi_mini_64 PATH_PRJ=lynq/MIFI/ PACK_PRJ=prj_mifi
wz.wang4cbe62b2024-06-28 11:28:43 +080031 @echo The default value of AP_PRJ is prj_cpe_min. The following values are optional :
32 @ls ap/project/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' '
33 @echo
34 @echo
35 @echo The default value of BOOT_PRJ is ufi_mini. The following values are optional :
36 @ls boot/prj/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' '
37 @echo
wz.wang6c460702024-07-01 10:20:35 +080038 @echo
39 @echo The default value of PACK_PRJ is prj_cpe. The following values are optional :
40 @ls allbins/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' '
41 @echo
42 @echo
43 @echo The default value of PATH_PRJ is lynq/CPE. The following values are optional :
44 @ls lynq/*/ -d | tr '\n' ' '
45 @echo
wz.wang4cbe62b2024-06-28 11:28:43 +080046