mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
trees: condense handle_makefile() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -232,8 +232,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" ] && \
|
||||
|
||||
Reference in New Issue
Block a user