Skip to content
Commit 7a52a5d0 authored by Vijayenthiran Subramaniam's avatar Vijayenthiran Subramaniam
Browse files

sgi/install_prerequisites.sh: refactor install_libfdt



install_gcc_toolchain function is called only for x86_64 host machines.
Since install_libfdt function call is inside install_gcc_toolchain
function, it won't be called for aarch64 host machine. Hence move out
install_libfdt function call outside. Also, use the parameter passed
to the install_libfdt function only for x86_64 host as the aarch64 host
uses preinstalled gcc.

Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran <vijayenthiran.subramaniam@arm.com>
Change-Id: Ib8b3d1ffb9d28874e4b59da0960c00a4e06f219d
parent 0aab88f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment