mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-12 19:13:48 +07:00
Fixed u-boot copy for H616
This commit is contained in:
@@ -230,7 +230,7 @@ compile_uboot()
|
|||||||
f_dst=$(basename "${f_src}")
|
f_dst=$(basename "${f_src}")
|
||||||
fi
|
fi
|
||||||
[[ ! -f $f_src ]] && exit_with_error "U-boot file not found" "$(basename "${f_src}")"
|
[[ ! -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}"
|
cp "${f_src}" "${SRC}/.tmp/packout/${f_dst}"
|
||||||
else
|
else
|
||||||
cp "${f_src}" "${SRC}/.tmp/${uboot_name}/usr/lib/${uboot_name}/${f_dst}"
|
cp "${f_src}" "${SRC}/.tmp/${uboot_name}/usr/lib/${uboot_name}/${f_dst}"
|
||||||
|
|||||||
Reference in New Issue
Block a user