Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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-lib
  5. PKG_VERSION:= 3.10.31-1.1.0-beta
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 011eb34c6fd1b1ea9894bbe07a539c1aeee1500bc8fdd29d8ce1dc1d02f79e24
  8. PKG_DESCR:= IMX library (Freescale)
  9. PKG_SECTION:= libs/video
  10. PKG_URL:= http://www.freescale.com/
  11. PKG_SITES:= http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
  12. PKG_SYSTEM_DEPENDS:= solidrun-imx6
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,IMX_LIB,imx-lib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_CPPFLAGS+= -I${LINUX_DIR}/drivers/mxc/security/rng/include \
  17. -I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
  18. -idirafter $(LINUX_DIR)/include/uapi
  19. MAKE_ENV+= PLATFORM=IMX6Q
  20. CONFIG_STYLE:= manual
  21. imx-lib-install:
  22. # remove libcec from staging directory
  23. -rm $(STAGING_TARGET_DIR)/usr/lib/libcec.so.1
  24. $(INSTALL_DIR) $(IDIR_IMX_LIB)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/lib{ipu,pxp}.so* \
  26. $(IDIR_IMX_LIB)/usr/lib
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk