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
+30
View File
@@ -0,0 +1,30 @@
config BR2_PACKAGE_SUNXI_BOARDS
bool "sunxi script.bin board file"
depends on BR2_arm
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-sunxi-tools
select BR2_PACKAGE_HOST_SUNXI_TOOLS
help
Sunxi-boards requires a compiled .fex files for hardware
description, used by the kernel during boot for hardware
initialization. This package is specific for linux-sunxi
kernel and it is useless for mainline kernel versions.
https://github.com/linux-sunxi/sunxi-boards
if BR2_PACKAGE_SUNXI_BOARDS
config BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE
string ".fex file to compile"
help
This field defines the name of the .fex file for which the
.bin file should be generated.
This should be the path of the .fex file relative to the
sys_config/ directory, and including the .fex extension.
See inside sys_config/ directory in sunxi-boards source code
to see the list of valid .fex files.
endif
comment "sunxi script.bin board file needs a toolchain w/ host gcc >= 4.9"
depends on BR2_arm
depends on !BR2_HOST_GCC_AT_LEAST_4_9
+2
View File
@@ -0,0 +1,2 @@
# locally computed
sha256 ff1fa509fd5716d26c23a82e59300876a848122f745713a610f8f3c47d448064 sunxi-boards-a6a4e94066f4ec6b26fc7060dc453a6bcf26a504.tar.gz
+26
View File
@@ -0,0 +1,26 @@
################################################################################
#
# sunxi-boards
#
################################################################################
SUNXI_BOARDS_VERSION = a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
SUNXI_BOARDS_SITE = $(call github,linux-sunxi,sunxi-boards,$(SUNXI_BOARDS_VERSION))
SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
SUNXI_BOARDS_INSTALL_IMAGES = YES
SUNXI_BOARDS_INSTALL_TARGET = NO
SUNXI_BOARDS_FEX_FILE = $(call qstrip,$(BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE))
define SUNXI_BOARDS_INSTALL_IMAGES_CMDS
$(FEX2BIN) $(@D)/sys_config/$(SUNXI_BOARDS_FEX_FILE) \
$(BINARIES_DIR)/script.bin
endef
ifeq ($(BR2_PACKAGE_SUNXI_BOARDS)$(BR_BUILDING),yy)
# we NEED a board name
ifeq ($(SUNXI_BOARDS_FEX_FILE),)
$(error No sunxi .fex file specified. Check your BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE settings)
endif
endif
$(eval $(generic-package))