$ make help
Cleaning targets:
clean - Remove most generated files but keep the config and enough build support to build external modules
mrproper - Remove all generated files + config + various backup files
distclean - mrproper + remove editor backup and patch files
make clean 删除大多数的编译生成文件, 但是会保留内核的配置文件.config, 还有足够的编译支持来建立扩展模块
make mrproper 删除所有的编译生成文件, 还有内核配置文件, 再加上各种备份文件
make distclean mrproper删除的文件, 加上编辑备份文件和一些补丁文件。
删除的文件范围从小到大依次为: make clean < make mrproper < make distclean
从Makefile中可以看到:执行make mrproper,会先执行make clean;执行make distclean,会先执行make mrproper
Cleaning targets:
clean - Remove most generated files but keep the config and enough build support to build external modules
mrproper - Remove all generated files + config + various backup files
distclean - mrproper + remove editor backup and patch files
make clean 删除大多数的编译生成文件, 但是会保留内核的配置文件.config, 还有足够的编译支持来建立扩展模块
make mrproper 删除所有的编译生成文件, 还有内核配置文件, 再加上各种备份文件
make distclean mrproper删除的文件, 加上编辑备份文件和一些补丁文件。
删除的文件范围从小到大依次为: make clean < make mrproper < make distclean
从Makefile中可以看到:执行make mrproper,会先执行make clean;执行make distclean,会先执行make mrproper