add cpe min

Change-Id: Idf6aacefa780b917f5dbd753710976cf94b6af48
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8f1db97
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,36 @@
+AP_PRJ ?= prj_cpe_min
+BOOT_PRJ ?= ufi_mini
+PACK_PRJ ?= prj_cpe
+RF_TYPE ?= 230A
+DCXO ?= yes
+PRJ_PATH ?= lynq/CPE
+
+.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=$(RF_TYPE) DCXO=$(DCXO)
+.PHONY:ap_normal2
+ap_normal2:
+	make -C ap/project/zx297520v3/$(AP_PRJ)/build/ normal2 RF_TYPE=$(RF_TYPE) DCXO=$(DCXO)
+.PHONY:copy
+copy:
+	cp -rf $(PRJ_PATH)/* .
+.PHONY:help
+help:
+	@echo example : make or make AP_PRJ=prj_cpe_min BOOT_PRJ=ufi_mini.
+	@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
+