mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
logging/rockchip64_common: curb warning about BOOT_SOC vs BOOTCONFIG if BOOTCONFIG is empty or 'none'
- we've enough warnings already
This commit is contained in:
committed by
igorpecovnik
parent
ceea84ff28
commit
1f26121528
@@ -42,7 +42,9 @@ RKBIN_DIR="$SRC/cache/sources/rkbin-tools"
|
||||
BOOT_SOC=${BOOT_SOC:=$(expr $BOOTCONFIG : '.*\(rk[[:digit:]]\+.*\)_.*' || true)}
|
||||
|
||||
if [[ "a${BOOT_SOC}a" == "aa" ]]; then
|
||||
display_alert "Could not determine BOOT_SOC from BOOTCONFIG" "BOOTCONFIG: '${BOOTCONFIG}'" "warning"
|
||||
if [[ "${BOOTCONFIG}" != "" && "${BOOTCONFIG}" != " none" ]]; then # only warn if BOOTCONFIG set and not 'none'
|
||||
display_alert "Could not determine BOOT_SOC from BOOTCONFIG" "BOOTCONFIG: '${BOOTCONFIG}'" "warning"
|
||||
fi
|
||||
else
|
||||
display_alert "Determined BOOT_SOC from BOOTCONFIG" "BOOT_SOC: '${BOOT_SOC}'; BOOTCONFIG: '${BOOTCONFIG}'" "info"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user