2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:31 +01:00
|
|
|
#
|
|
|
|
# imx-lib
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-19 14:37:31 +01:00
|
|
|
|
2018-09-04 23:28:22 +02:00
|
|
|
IMX_LIB_VERSION = 3f777974c0c146817e2ff5cb0340ca66a1f99e57
|
2018-01-05 15:39:34 +01:00
|
|
|
IMX_LIB_SITE = https://source.codeaurora.org/external/imx/imx-lib
|
|
|
|
IMX_LIB_SITE_METHOD = git
|
2017-03-30 15:43:34 +02:00
|
|
|
IMX_LIB_LICENSE = LGPL-2.1+
|
2016-01-30 12:45:50 +01:00
|
|
|
IMX_LIB_LICENSE_FILES = COPYING-LGPL-2.1
|
2012-12-19 14:37:31 +01:00
|
|
|
|
|
|
|
IMX_LIB_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
# imx-lib needs access to imx-specific kernel headers
|
|
|
|
IMX_LIB_DEPENDENCIES += linux
|
|
|
|
IMX_LIB_INCLUDE = \
|
2014-06-30 23:52:02 +02:00
|
|
|
-idirafter $(LINUX_DIR)/include/uapi
|
2012-12-19 14:37:31 +01:00
|
|
|
|
|
|
|
IMX_LIB_MAKE_ENV = \
|
|
|
|
$(TARGET_MAKE_ENV) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2015-10-04 14:28:46 +02:00
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
2014-06-30 23:52:03 +02:00
|
|
|
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
|
2012-12-19 14:37:31 +01:00
|
|
|
INCLUDE="$(IMX_LIB_INCLUDE)"
|
|
|
|
|
|
|
|
define IMX_LIB_BUILD_CMDS
|
|
|
|
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define IMX_LIB_INSTALL_STAGING_CMDS
|
|
|
|
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define IMX_LIB_INSTALL_TARGET_CMDS
|
|
|
|
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|