Skip to content

Commit

Permalink
Update board/common/mkgns3a.sh
Browse files Browse the repository at this point in the history
As @wkz says, better to use this construct if/when we add more archs.

[skip ci]

Co-authored-by: Tobias Waldekranz <[email protected]>
  • Loading branch information
troglobit and wkz committed Oct 12, 2023
1 parent 8c20bb2 commit 138c9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/common/mkgns3a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ IFNUM=${5:-1}
# directly, so we need to add a basic cmdline.
loader_args()
{
if [ "$ARCH" != "x86_64" ]; then
if [ "$ARCH" == "aarch64" ]; then
cat <<EOF
"kernel_command_line": "console=ttyAMA0 root=PARTLABEL=primary quiet",
EOF
Expand Down

0 comments on commit 138c9f3

Please sign in to comment.