diff options
Diffstat (limited to 'arch/mips/tools/generic-board-config.sh')
| -rwxr-xr-x | arch/mips/tools/generic-board-config.sh | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/arch/mips/tools/generic-board-config.sh b/arch/mips/tools/generic-board-config.sh index 5c4f93687039..08849f83ef6c 100755 --- a/arch/mips/tools/generic-board-config.sh +++ b/arch/mips/tools/generic-board-config.sh @@ -1,7 +1,7 @@  #!/bin/sh  #  # Copyright (C) 2017 Imagination Technologies -# Author: Paul Burton <[email protected]> +# Author: Paul Burton <[email protected]>  #  # This program is free software; you can redistribute it and/or modify it  # under the terms of the GNU General Public License as published by the @@ -30,8 +30,6 @@ cfg="$4"  boards_origin="$5"  shift 5 -cd "${srctree}" -  # Only print Skipping... lines if the user explicitly specified BOARDS=. In the  # general case it only serves to obscure the useful output about what actually  # was included. @@ -48,7 +46,7 @@ environment*)  esac  for board in $@; do -	board_cfg="arch/mips/configs/generic/board-${board}.config" +	board_cfg="${srctree}/arch/mips/configs/generic/board-${board}.config"  	if [ ! -f "${board_cfg}" ]; then  		echo "WARNING: Board config '${board_cfg}' not found"  		continue @@ -84,7 +82,7 @@ for board in $@; do  	done || continue  	# Merge this board config fragment into our final config file -	./scripts/kconfig/merge_config.sh \ +	${srctree}/scripts/kconfig/merge_config.sh \  		-m -O ${objtree} ${cfg} ${board_cfg} \  		| grep -Ev '^(#|Using)'  done |