setup_board: Set grub use flags to build arm64

Set the host grub use flags to build arm64 grub support when BOARD is
equal to arm64-usr.

From: Andrej Rosano <andrej@inversepath.com>
[Move to case statement]
Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
Geoff Levand 2015-11-19 15:08:00 -08:00
parent c353bc083b
commit 63679ebbe1

View File

@ -163,6 +163,13 @@ case "$BOARD" in
*-host)
die_notrace "host boards not supported by setup_board"
;;
arm64-usr)
# Set grub use flags to build arm64.
[[ ! -d /etc/portage/package.use ]] && sudo mkdir /etc/portage/package.use
sudo_clobber "/etc/portage/package.use/grub" <<EOF
sys-boot/grub grub_platforms_arm64
EOF
;;
esac
# Locations we will need
COREOS_OVERLAY="${REPO_ROOT}/src/third_party/coreos-overlay"