1 ################################################################################
5 ################################################################################
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
17 -I
$(LINUX_DIR
)/drivers
/mxc
/security
/rng
/include \
18 -I
$(LINUX_DIR
)/drivers
/mxc
/security
/sahara2
/include \
19 -idirafter
$(LINUX_DIR
)/include/uapi
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
)
32 define IMX_LIB_INSTALL_STAGING_CMDS
33 $(IMX_LIB_MAKE_ENV
) $(MAKE1
) -C
$(@D
) DEST_DIR
=$(STAGING_DIR
) install
36 define IMX_LIB_INSTALL_TARGET_CMDS
37 $(IMX_LIB_MAKE_ENV
) $(MAKE1
) -C
$(@D
) DEST_DIR
=$(TARGET_DIR
) install
40 $(eval
$(generic-package
))