Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
@@ -41,7 +41,7 @@ choice
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
bool "2020.10"
|
||||
bool "2021.01"
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@@ -85,7 +85,7 @@ endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2020.10" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default "2021.01" if BR2_TARGET_UBOOT_LATEST_VERSION
|
||||
default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \
|
||||
if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
@@ -229,6 +229,16 @@ config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_TARGET_UBOOT_NEEDS_OPENSBI
|
||||
bool "U-Boot needs OpenSBI"
|
||||
depends on BR2_TARGET_OPENSBI
|
||||
help
|
||||
Some RISC-V platforms (such as SiFive HiFive Unleashed)
|
||||
encapsulate the OpenSBI firmware image inside U-Boot.
|
||||
This option makes sure OpenSBI gets built prior to U-Boot,
|
||||
and that the OpenSBI variable pointing to OpenSBI binary,
|
||||
is passed during the Buildroot build.
|
||||
|
||||
menu "U-Boot binary format"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_AIS
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622 u-boot-2020.10.tar.bz2
|
||||
sha256 b407e1510a74e863b8b5cb42a24625344f0e0c2fc7582d8c866bd899367d0454 u-boot-2021.01.tar.bz2
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt
|
||||
|
||||
@@ -11,6 +11,8 @@ UBOOT_LICENSE = GPL-2.0+
|
||||
ifeq ($(BR2_TARGET_UBOOT_LATEST_VERSION),y)
|
||||
UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt
|
||||
endif
|
||||
UBOOT_CPE_ID_VENDOR = denx
|
||||
UBOOT_CPE_ID_PRODUCT = u-boot
|
||||
|
||||
UBOOT_INSTALL_IMAGES = YES
|
||||
|
||||
@@ -161,14 +163,19 @@ UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.bin
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSBI),y)
|
||||
UBOOT_DEPENDENCIES += opensbi
|
||||
UBOOT_MAKE_OPTS += OPENSBI=$(BINARIES_DIR)/fw_dynamic.bin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y)
|
||||
UBOOT_DEPENDENCIES += host-dtc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON2),y)
|
||||
UBOOT_DEPENDENCIES += host-python
|
||||
UBOOT_DEPENDENCIES += host-python host-python-setuptools
|
||||
else ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y)
|
||||
UBOOT_DEPENDENCIES += host-python3
|
||||
UBOOT_DEPENDENCIES += host-python3 host-python3-setuptools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)
|
||||
|
||||
Reference in New Issue
Block a user