Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= imx-vpu
  5. PKG_VERSION:= 3.10.31-1.1.0-beta
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 22d0542bd4d7beb88084575c834bf9045c8e2acc43acdd2ec4e0e5534b4b9c5e
  8. PKG_DESCR:= IMX VPU library (Freescale)
  9. PKG_DEPENDS:= firmware-imx
  10. PKG_SECTION:= libs/video
  11. PKG_URL:= http://www.freescale.com/
  12. PKG_SITES:= http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
  13. PKG_SYSTEM_DEPENDS:= solidrun-imx6
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.bin
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,IMX_VPU,imx-vpu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CPPFLAGS+= -I${LINUX_DIR}/drivers/mxc/security/rng/include \
  18. -I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
  19. -idirafter $(LINUX_DIR)/include/uapi
  20. MAKE_ENV+= PLATFORM=IMX6Q
  21. CONFIG_STYLE:= manual
  22. imx-vpu-install:
  23. $(INSTALL_DIR) $(IDIR_IMX_VPU)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libvpu.so* \
  25. $(IDIR_IMX_VPU)/usr/lib
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk