1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4
10 PKG_DESCR
:= vp8
/vp9 codec library
11 PKG_SECTION
:= libs
/video
12 PKG_URL
:= http
://www.webmproject.org
/about
/
13 PKG_SITES
:= http
://storage.googleapis.com
/downloads.webmproject.org
/releases
/webm
/
16 PKG_BUILDDEP_IBM_X40
:= yasm-host
17 PKG_BUILDDEP_QEMU_X86
:= yasm-host
18 PKG_ARCH_DEPENDS
:= !m68k
20 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
22 include $(ADK_TOPDIR
)/mk
/package.mk
24 $(eval
$(call PKG_template
,LIBVPX
,libvpx
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
26 CONFIG_STYLE
:= minimal
27 ifeq ($(ADK_TARGET_SYSTEM_QEMU_XTENSA
),y
)
28 CONFIGURE_ARGS
+= --target
=generic-gnu
30 ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM
),y
)
31 CONFIGURE_ARGS
+= --target
=armv5te-linux-gcc
33 ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
),y
)
34 CONFIGURE_ARGS
+= --target
=armv7-linux-gcc
36 ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI
),y
)
37 CONFIGURE_ARGS
+= --target
=armv6-linux-gcc
39 ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2
),y
)
40 CONFIGURE_ARGS
+= --target
=armv7-linux-gcc
42 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS
),y
)
43 CONFIGURE_ARGS
+= --target
=armv5te-linux-gcc
45 ifeq ($(ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
),y
)
46 CONFIGURE_ARGS
+= --target
=armv5te-linux-gcc
48 ifeq ($(ADK_TARGET_SYSTEM_IBM_X40
),y
)
49 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
51 ifeq ($(ADK_TARGET_SYSTEM_INTEL_ATOM
),y
)
52 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
54 ifeq ($(ADK_TARGET_SYSTEM_QEMU_X86
),y
)
55 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
57 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_WRAP
),y
)
58 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
60 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
),y
)
61 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
63 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
),y
)
64 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
66 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2
),y
)
67 CONFIGURE_ARGS
+= --target
=x86-linux-gcc
--as=yasm
69 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB532
),y
)
70 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
72 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
),y
)
73 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
75 ifeq ($(ADK_TARGET_SYSTEM_LINKSYS_AG241
),y
)
76 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
78 ifeq ($(ADK_TARGET_SYSTEM_FON_FON2100
),y
)
79 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
81 ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG
),y
)
82 CONFIGURE_ARGS
+= --target
=mips64-linux-gcc
84 ifeq ($(ADK_TARGET_SYSTEM_BROADCOM_BCM47XX
),y
)
85 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
87 ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPSEL
),y
)
88 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
90 ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS
),y
)
91 CONFIGURE_ARGS
+= --target
=mips32-linux-gcc
93 CONFIGURE_ARGS
+= --prefix=/usr \
94 --disable-install-docs \
95 --disable-install-bins \
96 --enable-install-libs \
97 --disable-unit-tests \
104 chmod a
+x
$(WRKBUILD
)/build
/make
/*.sh
105 chmod a
+x
$(WRKBUILD
)/build
/make
/*.pl
108 $(INSTALL_DIR
) $(IDIR_LIBVPX
)/usr
/lib
109 $(CP
) $(WRKINST
)/usr
/lib
/libvpx.so
* \
110 $(IDIR_LIBVPX
)/usr
/lib
112 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk