mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
1d3e682b12
In the latest release from NXP, Yocto Rocko 4.9.88-2.0.0_ga, imx-lib was switched from a specific branch or tag release to the master branch and a specific commit. See the link below for reference. https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/commit/?h=rocko-4.9.88-2.0.0_ga&id=ded1a9ea3d723c56058524fc9ebd420a3510ae05 Signed-off-by: Dan Riegsecker <1baldgeek@gmail.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# imx-lib
|
|
#
|
|
################################################################################
|
|
|
|
IMX_LIB_VERSION = 3f777974c0c146817e2ff5cb0340ca66a1f99e57
|
|
IMX_LIB_SITE = https://source.codeaurora.org/external/imx/imx-lib
|
|
IMX_LIB_SITE_METHOD = git
|
|
IMX_LIB_LICENSE = LGPL-2.1+
|
|
IMX_LIB_LICENSE_FILES = COPYING-LGPL-2.1
|
|
|
|
IMX_LIB_INSTALL_STAGING = YES
|
|
|
|
# imx-lib needs access to imx-specific kernel headers
|
|
IMX_LIB_DEPENDENCIES += linux
|
|
IMX_LIB_INCLUDE = \
|
|
-idirafter $(LINUX_DIR)/include/uapi
|
|
|
|
IMX_LIB_MAKE_ENV = \
|
|
$(TARGET_MAKE_ENV) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
|
|
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))
|