trees run_make_command: simpler distclean handling
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
aad9c8d0de
commit
ca77d3a3d7
|
@ -246,8 +246,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