mirror of https://github.com/armbian/build.git
armbian-next: `CLEAN_LEVEL=make-kernel` now does `git clean -xfd` instead, faster and 100% clean
This commit is contained in:
parent
4f743caab8
commit
e6b1c4d875
|
|
@ -61,7 +61,7 @@ function kernel_maybe_clean() {
|
|||
display_alert "Cleaning Kernel tree - CLEAN_LEVEL contains 'make-kernel'" "$LINUXSOURCEDIR" "info"
|
||||
(
|
||||
cd "${kernel_work_dir}" || exit_with_error "Can't cd to kernel_work_dir: ${kernel_work_dir}"
|
||||
run_host_command_logged make ARCH="${ARCHITECTURE}" clean
|
||||
run_host_command_logged git clean -xfdq # faster & more efficient than 'make clean'
|
||||
)
|
||||
else
|
||||
display_alert "Not cleaning Kernel tree; use CLEAN_LEVEL=make-kernel if needed" "CLEAN_LEVEL=${CLEAN_LEVEL}" "debug"
|
||||
|
|
|
|||
Loading…
Reference in New Issue