debianutils: bump to version 4.8.1
[buildroot-gz.git] / package / freescale-imx / imx-lib / imx-lib.mk
blobd3603ca919807dddb2f40d3c92ff9c8cf1189c87
1 ################################################################################
3 # imx-lib
5 ################################################################################
7 IMX_LIB_VERSION = 5.4
8 IMX_LIB_SITE = $(FREESCALE_IMX_SITE)
9 IMX_LIB_LICENSE = LGPLv2.1+
10 IMX_LIB_LICENSE_FILES = COPYING-LGPL-2.1
12 IMX_LIB_INSTALL_STAGING = YES
14 # imx-lib needs access to imx-specific kernel headers
15 IMX_LIB_DEPENDENCIES += linux
16 IMX_LIB_INCLUDE = \
17 -I$(LINUX_DIR)/drivers/mxc/security/rng/include \
18 -I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
19 -idirafter $(LINUX_DIR)/include/uapi
21 IMX_LIB_MAKE_ENV = \
22 $(TARGET_MAKE_ENV) \
23 $(TARGET_CONFIGURE_OPTS) \
24 CROSS_COMPILE="$(TARGET_CROSS)" \
25 PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
26 INCLUDE="$(IMX_LIB_INCLUDE)"
28 define IMX_LIB_BUILD_CMDS
29 $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
30 endef
32 define IMX_LIB_INSTALL_STAGING_CMDS
33 $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
34 endef
36 define IMX_LIB_INSTALL_TARGET_CMDS
37 $(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
38 endef
40 $(eval $(generic-package))