mirror of https://github.com/armbian/build.git
Add warning for rockchip uboot on modern hosts
This commit is contained in:
parent
5decdbfac1
commit
106ba53c6a
|
|
@ -44,6 +44,15 @@ esac
|
|||
|
||||
prepare_boot_configuration
|
||||
|
||||
pre_config_uboot_target() {
|
||||
# Check if building Radxa U-Boot on a host other than Ubuntu Jammy
|
||||
if [[ "${BOOTSOURCE}" == "https://github.com/radxa/u-boot.git" ]]; then
|
||||
if [[ "${HOSTRELEASE}" != "jammy" ]]; then
|
||||
display_alert "Building Rockchip BSP U-Boot from Radxa repository" "on Ubuntu ${HOSTRELEASE} (newer than Jammy) can lead to unintended bugs" "wrn"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
family_tweaks_bsp() {
|
||||
:
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,15 @@ esac
|
|||
|
||||
prepare_boot_configuration
|
||||
|
||||
pre_config_uboot_target() {
|
||||
# Check if building Radxa U-Boot on a host other than Ubuntu Jammy
|
||||
if [[ "${BOOTSOURCE}" == "https://github.com/radxa/u-boot.git" ]]; then
|
||||
if [[ "${HOSTRELEASE}" != "jammy" ]]; then
|
||||
display_alert "Building Rockchip BSP U-Boot from Radxa repository" "on Ubuntu ${HOSTRELEASE} (newer than Jammy) can lead to unintended bugs" "wrn"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
family_tweaks_bsp() {
|
||||
:
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue