Doker x64 and aarch64 2 (#2876)
* missed part from #2867. found 2 same calls need to be handled same way * +1
This commit is contained in:
parent
57fe952c4f
commit
3145a8d289
@ -40,8 +40,8 @@ case $BRANCH in
|
||||
esac
|
||||
|
||||
if [ "$(uname -m)" = "aarch64" ]; then
|
||||
if [ "$(lsb_release -sc)" = "focal" ]; then
|
||||
PKG_PREFIX="qemu-x86_64-static "
|
||||
if [[ "$(lsb_release -sc)" == "focal" || "$(lsb_release -sc)" == "hirsute" ]]; then
|
||||
PKG_PREFIX="qemu-x86_64-static -L /usr/x86_64-linux-gnu "
|
||||
else
|
||||
PKG_PREFIX="qemu-x86_64 "
|
||||
fi
|
||||
|
||||
@ -12,6 +12,19 @@ BOOTBRANCH="tag:v2020.10"
|
||||
PACKAGE_LIST_FAMILY="ethtool"
|
||||
|
||||
RKBIN_DIR="$SRC/cache/sources/rkbin-tools"
|
||||
if [ "$(uname -m)" = "aarch64" ]; then
|
||||
case "$(lsb_release -sc)" in
|
||||
"focal"|"hirsute")
|
||||
PKG_PREFIX="qemu-x86_64-static -L /usr/x86_64-linux-gnu "
|
||||
;;
|
||||
*)
|
||||
PKG_PREFIX="qemu-x86_64 -L /usr/x86_64-linux-gnu "
|
||||
;;
|
||||
esac
|
||||
else
|
||||
PKG_PREFIX=""
|
||||
fi
|
||||
|
||||
|
||||
if [[ $BOOTCONFIG == *3399* ]]; then
|
||||
|
||||
@ -190,20 +203,6 @@ legacy_uboot_locations()
|
||||
|
||||
uboot_custom_postprocess()
|
||||
{
|
||||
if [ "$(uname -m)" = "aarch64" ]; then
|
||||
case "$(lsb_release -sc)" in
|
||||
"focal"|"hirsute")
|
||||
PKG_PREFIX="qemu-x86_64-static -L /usr/x86_64-linux-gnu "
|
||||
;;
|
||||
*)
|
||||
PKG_PREFIX="qemu-x86_64 -L /usr/x86_64-linux-gnu "
|
||||
;;
|
||||
esac
|
||||
else
|
||||
PKG_PREFIX=""
|
||||
fi
|
||||
|
||||
RKBIN_DIR="$SRC/cache/sources/rkbin-tools"
|
||||
|
||||
if [[ $BOOT_USE_MAINLINE_ATF == yes || $BOOT_USE_TPL_SPL_BLOB == yes ]]; then
|
||||
:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user