summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/ffmpeg/Makefile7
-rw-r--r--package/mplayer/Makefile16
2 files changed, 18 insertions, 5 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index cae31cc1e..fddcc13c1 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -38,6 +38,13 @@ CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--enable-amd3dnowext \
--enable-mmx \
--enable-mmx2
+else ifeq ($(ADK_HARDWARE_IBMX40),y)
+CONFIGURE_CPU_OPTS:= --disable-ssse3 \
+ --enable-sse \
+ --disable-amd3dnow \
+ --disable-amd3dnowext \
+ --enable-mmx \
+ --enable-mmx2
else
CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--disable-sse \
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 \