summaryrefslogtreecommitdiff
path: root/package/mplayer/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-31 19:21:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-31 19:21:51 +0100
commitc819d744aa84599306c86abbd57240cbd2116aea (patch)
tree5a00ae31b26e9f010a2e4073142bd6386db1cdff /package/mplayer/Makefile
parenta511e322ab940a4a469b375912114582578824a4 (diff)
enable/disable some cpu extensions
Diffstat (limited to 'package/mplayer/Makefile')
-rw-r--r--package/mplayer/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 83139f385..4bc89910c 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -65,6 +65,11 @@ CONFIGURE_CPU_OPTS+= --enable-mmxext
else
CONFIGURE_CPU_OPTS+= --disable-mmxext
endif
+ifeq (${ADK_TARGET_CPU_WITH_3DNOW},y)
+CONFIGURE_CPU_OPTS:= --enable-3dnow
+else
+CONFIGURE_CPU_OPTS:= --disable-3dnow
+endif
ifeq (${ADK_TARGET_CPU_WITH_SSE},y)
CONFIGURE_CPU_OPTS+= --enable-sse
else
@@ -75,6 +80,11 @@ CONFIGURE_CPU_OPTS+= --enable-sse2
else
CONFIGURE_CPU_OPTS+= --disable-sse2
endif
+ifeq (${ADK_TARGET_CPU_WITH_SSE3},y)
+CONFIGURE_CPU_OPTS+= --enable-sse3
+else
+CONFIGURE_CPU_OPTS+= --disable-sse3
+endif
#ifeq (${ADK_TARGET_CPU_WITH_IWMMXT},y)
#CONFIGURE_CPU_OPTS+= --enable-iwmmxt
#else