summaryrefslogtreecommitdiff
path: root/package/mplayer
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
commitdbfdeaeb46453d300b975dcfb6790f3b16f9e6b5 (patch)
treefbba8492efcb3536c1606a659308e9f0ca75ea20 /package/mplayer
parent4969392a108205efe43203a9df4a20c749554479 (diff)
implement the concept of target choice by embedded system or architecture
you can now choose between specific embedded systems like PC Engines ALIX boards, Foxboard, .. or between generic architecture support like x86, x86_64, mips, ... This does reduce the overhead of duplicate configuration files in target directory. Now qemu, toolchain and ibm x40 support is combined in one target directory target/x86. Distinguishing between hardware profiles happens via menu based configuration. (CPU choice for kernel, CFLAGS for package building, ..). We will see if this is the right direction.
Diffstat (limited to 'package/mplayer')
-rw-r--r--package/mplayer/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 5f38f19f7..60fc830d7 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -18,7 +18,7 @@ PKG_URL:= http://www.mplayerhq.hu/
PKG_SITES:= http://openadk.org/distfiles/
PKG_HOST_DEPENDS:= !darwin
-PKG_TARGET_DEPENDS:= alix x86 x86_64 lemote
+PKG_TARGET_DEPENDS:= alix x86 x86_64 mips mipsel mips64 mips64el
PKG_FLAVOURS:= WITH_DIRECTFB
PKGFD_WITH_DIRECTFB:= enable DirectFB video output support
@@ -37,7 +37,10 @@ CONFIG_STYLE:= minimal
FAKE_FLAGS+= INSTALLSTRIP=''
-ifeq (${ADK_LINUX_MIPS64_LEMOTE},y)
+ifeq (${ADK_LINUX_MIPS64EL},y)
+EXTRA_CFLAGS:= -DARCH_MIPS64
+endif
+ifeq (${ADK_LINUX_MIPS64},y)
EXTRA_CFLAGS:= -DARCH_MIPS64
endif
@@ -57,7 +60,7 @@ CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--enable-mmx \
--enable-3dnowext \
--enable-3dnow
-else ifeq (${ADK_HARDWARE_IBMX40},y)
+else ifeq (${ADK_HARDWARE_IBM_X40},y)
CONFIGURE_CPU_OPTS:= --disable-ssse3 \
--enable-sse2 \
--enable-sse \