diff options
author | Masahiro Yamada | 2014-07-11 16:31:47 +0900 |
---|---|---|
committer | Tom Rini | 2014-07-14 10:55:58 -0400 |
commit | 75e6cd2799f0d6bf994a1154107cb950b232aa59 (patch) | |
tree | aa9f5255b1a2d43b716d50848bd25617aa165d72 /mkconfig | |
parent | 5b0421e67cc688766cc81829ffcede4ef0de36b0 (diff) |
boards.cfg: change "<none>" in the board field to "-"
In the previous commit, all the board fields were filled.
Now we can use "-" in the board field for a different meaning.
Going forward, "-" stands for no board directory
as in cpu, soc, vendor fields.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -60,13 +60,7 @@ if [ "$cpu" = "-" ] ; then cpu= fi -if [ "$6" = "<none>" ] ; then - board= -elif [ "$6" = "-" ] ; then - board=${BOARD_NAME} -else - board="$6" -fi +[ "$6" != "-" ] && board="$6" [ "$5" != "-" ] && vendor="$5" [ "$4" != "-" ] && soc="$4" [ $# -gt 7 ] && [ "$8" != "-" ] && { |