blob: 8f1db970a7f3e30237115855f41f13071ff5e13c [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
6PRJ_PATH ?= lynq/CPE
7
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:
25 cp -rf $(PRJ_PATH)/* .
26.PHONY:help
27help:
28 @echo example : make or make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini.
29 @echo The default value of AP_PRJ is prj_cpe_min. The following values are optional :
30 @ls ap/project/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' '
31 @echo
32 @echo
33 @echo The default value of BOOT_PRJ is ufi_mini. The following values are optional :
34 @ls boot/prj/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' '
35 @echo
36