summaryrefslogtreecommitdiff
path: root/package/imx-vpu/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-28 12:58:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-28 12:58:29 +0200
commit3e1c67b68f5a878d726526070a0a03675ec992e1 (patch)
tree6ac65bfd7bd4b3b633325dbc4b12b961a96304da /package/imx-vpu/Makefile
parent461bb11b91a766ea607b20558a3315e7e6f6e894 (diff)
parent76b0c60b5a04647a13cf0fd975ab84972ae1e51d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/imx-vpu/Makefile')
-rw-r--r--package/imx-vpu/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/imx-vpu/Makefile b/package/imx-vpu/Makefile
new file mode 100644
index 000000000..f20727fdc
--- /dev/null
+++ b/package/imx-vpu/Makefile
@@ -0,0 +1,32 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= imx-vpu
+PKG_VERSION:= 3.10.17-1.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 71ea1b803864101ebf88a1bab45514d2
+PKG_DESCR:= IMX VPU library (Freescale)
+PKG_SECTION:= libs/video
+PKG_URL:= http://www.freescale.com/
+PKG_SITES:= http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.bin
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,IMX_VPU,imx-vpu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+TARGET_CPPFLAGS+= -I${LINUX_DIR}/drivers/mxc/security/rng/include \
+ -I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
+ -idirafter $(LINUX_DIR)/include/uapi
+MAKE_ENV+= PLATFORM=IMX6Q
+CONFIG_STYLE:= manual
+
+imx-vpu-install:
+ $(INSTALL_DIR) $(IDIR_IMX_VPU)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libvpu.so* \
+ $(IDIR_IMX_VPU)/usr/lib
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk