trees run_make_command: simpler distclean handling
Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
88f741db92
commit
f937a1142d
|
@ -248,8 +248,7 @@ run_make_command()
|
||||||
make -C "$cdir" $mode -j$XBMK_THREADS $makeargs || $err "$cdir mk$mode"
|
make -C "$cdir" $mode -j$XBMK_THREADS $makeargs || $err "$cdir mk$mode"
|
||||||
[ -z "$mkhelper" ] || [ -n "$mode" ] || $mkhelper || $err "!$mkhelper"
|
[ -z "$mkhelper" ] || [ -n "$mode" ] || $mkhelper || $err "!$mkhelper"
|
||||||
|
|
||||||
[ "$mode" != "clean" ] && return 0
|
[ "$mode" = "clean" ] && make -C "$cdir" distclean || :; return 0
|
||||||
make -C "$cdir" distclean 2>/dev/null || :
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_cmake()
|
check_cmake()
|
||||||
|
|
Loading…
Reference in New Issue