initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
config BR2_PACKAGE_IMX_USB_LOADER
bool "imx-usb-loader"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
help
This package contains tools to download and execute code
on Freescale i.MX5/i.MX6 and Vybrid SoCs through the
Serial Download Protocol.
https://github.com/boundarydevices/imx_usb_loader
comment "imx-usb-loader needs a toolchain w/ threads, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+14
View File
@@ -0,0 +1,14 @@
config BR2_PACKAGE_HOST_IMX_USB_LOADER
bool "host imx-usb-loader"
depends on BR2_arm || BR2_aarch64
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb
help
This package contains tools to download and execute code
on Freescale i.MX5x/6x/7x/8x and Vybrid SoCs through the
Serial Download Protocol.
https://github.com/boundarydevices/imx_usb_loader
comment "host imx-usb-loader needs a toolchain w/ host gcc >= 4.9"
depends on BR2_arm || BR2_aarch64
depends on !BR2_HOST_GCC_AT_LEAST_4_9
@@ -0,0 +1,3 @@
# locally computed
sha256 4357907c9669874d3ccbf00395bf0b1733c26e6daea85d721f1c0cd897f4162c imx-usb-loader-30b43d69770cd69e84c045dc9dcabb1f3e9d975a.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
+32
View File
@@ -0,0 +1,32 @@
################################################################################
#
# imx-usb-loader
#
################################################################################
IMX_USB_LOADER_VERSION = 30b43d69770cd69e84c045dc9dcabb1f3e9d975a
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
IMX_USB_LOADER_LICENSE = LGPL-2.1+
IMX_USB_LOADER_LICENSE_FILES = COPYING
IMX_USB_LOADER_DEPENDENCIES = libusb host-pkgconf
HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
define IMX_USB_LOADER_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define HOST_IMX_USB_LOADER_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define IMX_USB_LOADER_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR)/usr install
endef
define HOST_IMX_USB_LOADER_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
$(eval $(generic-package))
$(eval $(host-generic-package))