Skip to content
Snippets Groups Projects
Commit 54d1f504 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

MAKEALL: fix a bug to use CROSS_COMPILE_<ARCH>


Commit 27af930e changed the boards.cfg format but
missed to change get_target_arch() fuction.
This commit adjusts it for CROSS_COMPILE_<ARCH>
to work correctly.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
parent 23d6410c
No related branches found
No related tags found
No related merge requests found
......@@ -571,7 +571,7 @@ get_target_arch() {
local target=$1
# Automatic mode
local line=`egrep -i "^[[:space:]]*${target}[[:space:]]" boards.cfg`
local line=`awk '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
if [ -z "${line}" ] ; then echo "" ; return ; fi
......
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