| AP_PRJ ?= prj_cpe_min |
| BOOT_PRJ ?= ufi_mini |
| PACK_PRJ ?= prj_cpe |
| RF_TYPES ?= 230A |
| DCXOS ?= yes |
| PATH_PRJ ?= lynq/CPE |
| ifeq ($(RF_TYPES), 230A) |
| RF_TYPE_R306 = RF_TYPE=230A |
| endif |
| ifeq ($(DCXOS), yes) |
| DCXO_R306 = DCXO=yes |
| endif |
| |
| .PHONY:all |
| all:copy boot ap pack |
| @echo OK |
| .PHONY:pack |
| pack: |
| make -C allbins/zx297520v3/$(PACK_PRJ)/scripts_linux/ |
| .PHONY:boot |
| boot: |
| make -C boot/prj/zx297520v3/$(BOOT_PRJ)/build/ allclean all |
| .PHONY:ap |
| ap: |
| make -C ap/project/zx297520v3/$(AP_PRJ)/build/ allclean all $(RF_TYPE_R306) $(DCXO_R306) |
| .PHONY:ap_normal2 |
| ap_normal2: |
| make -C ap/project/zx297520v3/$(AP_PRJ)/build/ normal2 $(RF_TYPE_R306) $(DCXO_R306) |
| .PHONY:copy |
| copy: |
| cp -rf $(PATH_PRJ)/* . |
| .PHONY:help |
| help: |
| @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 |
| @echo example prj_cpe_aic8800dw : make AP_PRJ=prj_cpe PATH_PRJ=lynq/CPE_AIC8800DW |
| @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 |
| @echo example R305 : make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/R305 |
| @echo example R306 : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/R306 |
| @echo example CPE_COMMON : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/CPE_COMMON |
| @echo example CPE_TELKOMSEL : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/CPE_TELKOMSEL |
| @echo example R307 : make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini PACK_PRJ=prj_cpe PATH_PRJ=lynq/R307 |
| @echo example CPE_COMMON : make AP_PRJ=prj_mifi_min BOOT_PRJ=mifi_mini_64 PACK_PRJ=prj_mifi PATH_PRJ=lynq/S300 |
| @echo The default value of AP_PRJ is prj_cpe_min. The following values are optional : |
| @ls ap/project/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' ' |
| @echo |
| @echo |
| @echo The default value of BOOT_PRJ is ufi_mini. The following values are optional : |
| @ls boot/prj/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' ' |
| @echo |
| @echo |
| @echo The default value of PACK_PRJ is prj_cpe. The following values are optional : |
| @ls allbins/zx297520v3/*/ -d | xargs -I {} basename "{}" | tr '\n' ' ' |
| @echo |
| @echo |
| @echo The default value of PATH_PRJ is lynq/CPE. The following values are optional : |
| @ls lynq/*/ -d | tr '\n' ' ' |
| @echo |
| |