[FFmpeg-cvslog] makefile: add Loongson-3 support

ZhouXiaoyong git at videolan.org
Mon Apr 27 14:22:13 CEST 2015


ffmpeg | branch: master | ZhouXiaoyong <zhouxiaoyong at loongson.cn> | Mon Apr 27 10:40:29 2015 +0800| [4a7b50679db3a3c902d459745f2f1f622e27eab6] | committer: Michael Niedermayer

makefile: add Loongson-3 support

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4a7b50679db3a3c902d459745f2f1f622e27eab6
---

 Makefile |    2 +-
 arch.mak |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index fe0e02f..fd59628 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS      \
                ARMV5TE-OBJS ARMV6-OBJS ARMV8-OBJS VFP-OBJS NEON-OBJS     \
                ALTIVEC-OBJS MMX-OBJS YASM-OBJS                           \
                MIPSFPU-OBJS MIPSDSPR2-OBJS MIPSDSPR1-OBJS MSA-OBJS       \
-               OBJS SLIBOBJS HOSTOBJS TESTOBJS
+               LOONGSON3-OBJS OBJS SLIBOBJS HOSTOBJS TESTOBJS
 
 define RESET
 $(1) :=
diff --git a/arch.mak b/arch.mak
index 39f2917..bda3ae1 100644
--- a/arch.mak
+++ b/arch.mak
@@ -8,6 +8,7 @@ OBJS-$(HAVE_MIPSFPU)   += $(MIPSFPU-OBJS)    $(MIPSFPU-OBJS-yes)
 OBJS-$(HAVE_MIPSDSPR1) += $(MIPSDSPR1-OBJS)  $(MIPSDSPR1-OBJS-yes)
 OBJS-$(HAVE_MIPSDSPR2) += $(MIPSDSPR2-OBJS)  $(MIPSDSPR2-OBJS-yes)
 OBJS-$(HAVE_MSA)       += $(MSA-OBJS)        $(MSA-OBJS-yes)
+OBJS-$(HAVE_LOONGSON3) += $(LOONGSON3-OBJS)  $(LOONGSON3-OBJS-yes)
 
 OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS) $(ALTIVEC-OBJS-yes)
 



More information about the ffmpeg-cvslog mailing list