After unpacking the source code for a Linux kernel, what is the first make command that should be
run which will delete any current configuration and all generated files? This command will ensure
that no inappropriate files were left in the kernel archive by the maintainer.
A.
make depend
B.
make distclean
C.
make config
D.
make clean
E.
make mrproper
Explanation:
See http://www.gnu.org/software/automake/manual/automake.html#Clean
https://github.com/torvalds/linux/blob/a56af87648054089d89874b52e3fc23ed4f274ad/Makefile#L1187
make mrproper Delete the current configuration, and all generated files
Exact wordings.
https://github.com/torvalds/linux/blob/a56af87648054089d89874b52e3fc23ed4f274ad/Makefile#L1187
(..)
@echo ‘ mrproper – Remove all generated files + config + various backup files’
@echo ‘ distclean – mrproper + remove editor backup and patch files’
(..)
It seems as distclean removes more than mrproper.
question did not mention ‘editor backup and patch files’