trees: condense handle_makefile() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
605b099e04
commit
0ab9afc7af
|
@ -230,8 +230,7 @@ handle_makefile()
|
|||
|
||||
run_make_command || $err "handle_makefile $cdir: no makefile!"
|
||||
|
||||
_copy=".config"
|
||||
[ "$mode" = "savedefconfig" ] && _copy="defconfig"
|
||||
_copy=".config" && [ "$mode" = "savedefconfig" ] && _copy="defconfig"
|
||||
[ "${mode%config}" = "$mode" ] || x_ cp "$cdir/$_copy" "$config"
|
||||
|
||||
[ -e "$cdir/.git" ] && [ "$project" = "u-boot" ] && \
|
||||
|
|
Loading…
Reference in New Issue