[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/plat/src/mmp/ws/Makefile b/cp/ps/plat/src/mmp/ws/Makefile
new file mode 100644
index 0000000..a189883
--- /dev/null
+++ b/cp/ps/plat/src/mmp/ws/Makefile
@@ -0,0 +1,96 @@
+#***********************************************************************
+# °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+#
+# ÎļþÃû³Æ£º
+# Îļþ±êʶ£º
+# ÄÚÈÝÕªÒª£º
+#
+# ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+# ---------------------------------------------------------------------
+# 2013/06/09 V1.0 mayiping create
+#***********************************************************************/
+
+include $(PRJ_PATH)/config/project.mk
+
+#===============================================
+# ÅäÖÿª·¢Ä£Ê½»¹ÊÇ·¢²¼Ä£Ê½
+#===============================================
+IS_MMP_DEV_PRJ ?= no
+
+MMP_ROOT = $(MMP_PATH)
+
+lib: amr fr efr hr mmptest copy
+clean: amrclean frclean efrclean hrclean mmptestclean copyclean
+
+#===============================================
+# mmpÄ£¿é
+#===============================================
+ifeq ($(IS_MMP_DEV_PRJ), yes)
+amr:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/amr/ws lib
+amrclean:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/amr/ws clean
+fr:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/fr/ws lib
+frclean:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/fr/ws clean
+efr:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/efr/ws lib
+efrclean:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/efr/ws clean
+hr:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/hr/ws lib
+hrclean:
+ @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/hr/ws clean
+mmptest:
+# @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/test/ws lib
+mmptestclean:
+# @$(GNUMAKE) --no-print-directory -C $(MMP_ROOT)/test/ws clean
+copy:
+ @-$(MKDIR) $(PLAT_LIB_EXTERNAL_PATH)
+ @$(COPY) --force $(PLAT_PATH)/src/mmp/amr/lib/$(CPU_ARCH)/$(USE_CMPL)/amr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/fr/lib/$(CPU_ARCH)/$(USE_CMPL)/fr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/efr/lib/$(CPU_ARCH)/$(USE_CMPL)/efr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/hr/lib/$(CPU_ARCH)/$(USE_CMPL)/hr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/test/lib/$(CPU_ARCH)/$(USE_CMPL)/mmptest.a $(PLAT_LIB_EXTERNAL_PATH)
+copyclean:
+ @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/amr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/fr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/efr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/hr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/mmptest.a
+else
+amr:
+ @$(ECHO) "--to build amr!"
+amrclean:
+ @$(ECHO) "--to clean amr!"
+fr:
+ @$(ECHO) "--to build fr!"
+frclean:
+ @$(ECHO) "--to clean fr!"
+efr:
+ @$(ECHO) "--to build efr!"
+efrclean:
+ @$(ECHO) "--to clean efr!"
+hr:
+ @$(ECHO) "--to build hr!"
+hrclean:
+ @$(ECHO) "--to clean hr!"
+mmptest:
+# @$(ECHO) "--to build test!"
+mmptestclean:
+# @$(ECHO) "--to clean test!"
+copy:
+ @-$(MKDIR) $(PLAT_LIB_EXTERNAL_PATH)
+ @$(COPY) --force $(PLAT_PATH)/src/mmp/amr/lib/$(CPU_ARCH)/$(USE_CMPL)/amr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/fr/lib/$(CPU_ARCH)/$(USE_CMPL)/fr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/efr/lib/$(CPU_ARCH)/$(USE_CMPL)/efr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/hr/lib/$(CPU_ARCH)/$(USE_CMPL)/hr.a $(PLAT_LIB_EXTERNAL_PATH)
+# @$(COPY) --force $(PLAT_PATH)/src/mmp/test/lib/$(CPU_ARCH)/$(USE_CMPL)/mmptest.a $(PLAT_LIB_EXTERNAL_PATH)
+copyclean:
+ @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/amr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/fr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/efr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/hr.a
+# @$(RM) -rf $(PLAT_LIB_EXTERNAL_PATH)/mmptest.a
+endif