There are two types of commands on Makefile to clean all of made files.
One is make clean
, and the other is make distclean
. They are executed on os folder.
This command removes files which are made on build procedure like objects, libraries, .depend, Make.dep and etc.
When configuration is changed, executing this command guarantees a re-build from scratch.
This command includes make clean
inside. Additionally, it removes configured files like .config and Make.defs.
When you want to use new or another defconfig, this should be executed before configuring new one.