summaryrefslogtreecommitdiff
path: root/package/mplayer
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-25 19:20:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-25 19:20:29 +0100
commit70451245c8b5bc1d7c43c690c166e2d1edf3cbf2 (patch)
treeb8df6bfbb2cec6b098a6254ba952be21ddeebddf /package/mplayer
parent740d952cc7ddaa93cb0a76e56817cbb74ca3b108 (diff)
respect hardware profile for ibm x40
Diffstat (limited to 'package/mplayer')
-rw-r--r--package/mplayer/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 3da200fa0..5f38f19f7 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -49,18 +49,24 @@ ifeq (${ADK_PACKAGE_MPLAYER_WITH_DIRECTFB},y)
TCFLAGS+= -I${STAGING_DIR}/usr/include/directfb
endif
-ifeq (${ADK_LINUX_X86_ALIX1C},y)
-CONFIGURE_CPU_OPTS:= \
- --disable-ssse3 \
+ifeq (${ADK_LINUX_X86_ALIX},y)
+CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--disable-sse2 \
--disable-sse \
--enable-mmxext \
--enable-mmx \
--enable-3dnowext \
--enable-3dnow
+else ifeq (${ADK_HARDWARE_IBMX40},y)
+CONFIGURE_CPU_OPTS:= --disable-ssse3 \
+ --enable-sse2 \
+ --enable-sse \
+ --enable-mmxext \
+ --enable-mmx \
+ --disable-3dnowext \
+ --disable-3dnow
else
-CONFIGURE_CPU_OPTS:= \
- --disable-ssse3 \
+CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--disable-sse2 \
--disable-sse \
--disable-mmxext \