mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
15
package/freescale-imx/imx-lib/Config.in
Normal file
15
package/freescale-imx/imx-lib/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
comment "imx-lib needs an imx-specific Linux kernel to be built"
|
||||
depends on BR2_arm && !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_PACKAGE_IMX_LIB
|
||||
bool "imx-lib"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_arm # Only relevant for i.MX
|
||||
help
|
||||
Library of userspace helpers specific for the Freescale i.MX
|
||||
platform. It wraps the kernel interfaces for some i.MX
|
||||
platform specific drivers. It requires a kernel that
|
||||
includes the i.MX specific headers to be built.
|
||||
|
||||
This library is provided by Freescale as-is and doesn't have
|
||||
an upstream.
|
||||
2
package/freescale-imx/imx-lib/imx-lib.hash
Normal file
2
package/freescale-imx/imx-lib/imx-lib.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed
|
||||
sha256 ced5ad0a179887ef1dd93e8103a9ab7372017cc1c241d28cded164cdece4b918 imx-lib-3f777974c0c146817e2ff5cb0340ca66a1f99e57.tar.gz
|
||||
39
package/freescale-imx/imx-lib/imx-lib.mk
Normal file
39
package/freescale-imx/imx-lib/imx-lib.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user