I understood the difference between make clean
and make mrproper
.
make clean
will only remove the generated files (.o/.ko) but not the configuration files and the files in include/generated
, include/config
.
make mrproper
will remove the configuration files as well as files in include/generated
, include/config
.
What is the purpose of make distclean
? make help
says
mrproper + remove editor backup and patch files
I added a patch file using git format-patch -1
, but it wasn't deleted when make distclean
was executed.