Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhouXiaoyong <zhouxiaoyong@loongson.cn>2015-04-27 05:40:29 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-04-27 15:10:28 +0300
commit4a7b50679db3a3c902d459745f2f1f622e27eab6 (patch)
tree8a22e8aa1290077d33063ff9b15861e6f5b01737
parent8a03d428f1759a7d3af505ab747662747360ea60 (diff)
makefile: add Loongson-3 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--Makefile2
-rw-r--r--arch.mak1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe0e02f2f6..fd59628a42 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 39f2917d1b..bda3ae10ac 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)