From 75e6cd2799f0d6bf994a1154107cb950b232aa59 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 11 Jul 2014 16:31:47 +0900 Subject: boards.cfg: change "" 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 --- mkconfig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mkconfig') diff --git a/mkconfig b/mkconfig index 401f2623f35..84f5a7765b9 100755 --- a/mkconfig +++ b/mkconfig @@ -60,13 +60,7 @@ if [ "$cpu" = "-" ] ; then cpu= fi -if [ "$6" = "" ] ; then - board= -elif [ "$6" = "-" ] ; then - board=${BOARD_NAME} -else - board="$6" -fi +[ "$6" != "-" ] && board="$6" [ "$5" != "-" ] && vendor="$5" [ "$4" != "-" ] && soc="$4" [ $# -gt 7 ] && [ "$8" != "-" ] && { -- cgit v1.2.3