mark boards as experimental
[openadk.git] / package / libvpx / Makefile
blob3b2c115627ac220b46b5b031291527c0ea497bf1
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
6 PKG_NAME:= libvpx
7 PKG_VERSION:= 1.4.0
8 PKG_RELEASE:= 1
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/
14 PKG_OPTS:= dev
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
29 endif
30 ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y)
31 CONFIGURE_ARGS+= --target=armv5te-linux-gcc
32 endif
33 ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
34 CONFIGURE_ARGS+= --target=armv7-linux-gcc
35 endif
36 ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
37 CONFIGURE_ARGS+= --target=armv6-linux-gcc
38 endif
39 ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y)
40 CONFIGURE_ARGS+= --target=armv7-linux-gcc
41 endif
42 ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y)
43 CONFIGURE_ARGS+= --target=armv5te-linux-gcc
44 endif
45 ifeq ($(ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20),y)
46 CONFIGURE_ARGS+= --target=armv5te-linux-gcc
47 endif
48 ifeq ($(ADK_TARGET_SYSTEM_IBM_X40),y)
49 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
50 endif
51 ifeq ($(ADK_TARGET_SYSTEM_INTEL_ATOM),y)
52 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
53 endif
54 ifeq ($(ADK_TARGET_SYSTEM_QEMU_X86),y)
55 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
56 endif
57 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_WRAP),y)
58 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
59 endif
60 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13),y)
61 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
62 endif
63 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX1C),y)
64 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
65 endif
66 ifeq ($(ADK_TARGET_SYSTEM_PCENGINES_ALIX2D2),y)
67 CONFIGURE_ARGS+= --target=x86-linux-gcc --as=yasm
68 endif
69 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB532),y)
70 CONFIGURE_ARGS+= --target=mips32-linux-gcc
71 endif
72 ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB4XX),y)
73 CONFIGURE_ARGS+= --target=mips32-linux-gcc
74 endif
75 ifeq ($(ADK_TARGET_SYSTEM_LINKSYS_AG241),y)
76 CONFIGURE_ARGS+= --target=mips32-linux-gcc
77 endif
78 ifeq ($(ADK_TARGET_SYSTEM_FON_FON2100),y)
79 CONFIGURE_ARGS+= --target=mips32-linux-gcc
80 endif
81 ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
82 CONFIGURE_ARGS+= --target=mips64-linux-gcc
83 endif
84 ifeq ($(ADK_TARGET_SYSTEM_BROADCOM_BCM47XX),y)
85 CONFIGURE_ARGS+= --target=mips32-linux-gcc
86 endif
87 ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPSEL),y)
88 CONFIGURE_ARGS+= --target=mips32-linux-gcc
89 endif
90 ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS),y)
91 CONFIGURE_ARGS+= --target=mips32-linux-gcc
92 endif
93 CONFIGURE_ARGS+= --prefix=/usr \
94 --disable-install-docs \
95 --disable-install-bins \
96 --enable-install-libs \
97 --disable-unit-tests \
98 --disable-docs \
99 --disable-examples \
100 --enable-shared
101 ALL_TARGET:=
103 post-extract:
104 chmod a+x $(WRKBUILD)/build/make/*.sh
105 chmod a+x $(WRKBUILD)/build/make/*.pl
107 libvpx-install:
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