use git to clean too, it is faster lol
This commit is contained in:
parent
2ca95bab0a
commit
7beae21ee1
|
@ -85,6 +85,7 @@ function modify_kernel_config() {
|
|||
function configure_kernel() {
|
||||
if [[ "${CLEAN_BUILD}" == '1' ]]; then
|
||||
rm -vf .config*
|
||||
[[ -d .git ]] && git clean -x -d -f
|
||||
$SUDO_ALIAS make distclean
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue