orangepizero2: current: linux-5.13 support

This commit is contained in:
leeboby
2021-10-11 18:19:49 +08:00
parent 6cfbcaaf9c
commit 1c450892b7
8 changed files with 8320 additions and 18 deletions

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|2011.09 || $BOARD == orangepizero2 ]]; then
if [[ "${version}" =~ 2014.07|2011.09 ]]; then
cp "${f_src}" "${SRC}/.tmp/packout/${f_dst}"
else
cp "${f_src}" "${SRC}/.tmp/${uboot_name}/usr/lib/${uboot_name}/${f_dst}"