Fixed u-boot copy for H616

This commit is contained in:
leeboby
2020-11-20 18:17:44 +08:00
parent 4659f38980
commit af8cc26d85

View File

@@ -230,7 +230,7 @@ compile_uboot()
f_dst=$(basename "${f_src}")
fi
[[ ! -f $f_src ]] && exit_with_error "U-boot file not found" "$(basename "${f_src}")"
if [[ "${version}" == 2014.07 || "${version}" == 2011.09 ]]; then
if [[ "${version}" =~ 2014.07|2011.09|2018.05 ]]; then
cp "${f_src}" "${SRC}/.tmp/packout/${f_dst}"
else
cp "${f_src}" "${SRC}/.tmp/${uboot_name}/usr/lib/${uboot_name}/${f_dst}"