본문 바로가기
나머지/ETC

make mrproper make distclean

by 무늬만학생 2012. 4. 6.
반응형

What's the difference between make mrproper and make clean in kernel 2.4 source's Makefile? which should I use if in the middle of make, I want to return to the base state. make mrproper or make clean ?


from the Makefile:


###

# Cleaning is done on three levels.

# make clean Delete most generated files

# Leave enough to build external modules

# make mrproper Delete the current configuration, and all generated files

# make distclean Remove editor backup files, patch leftover files and the like

출처 :  http://www.linuxquestions.org/questions/slackware-14/difference-between-make-mrproper-and-make-clean-473144/


mrproper  는 이전에 설정한 정보를 지우거나 새로운 커널 소스를 가져다 컴파일 할 때에 사용합니다. 이전 커널을 컴파일할 때 만들어진 오브젝트 파일(*.o)과 의존성 설정, 컴파일 환경 설정값, 버전 정보 등 새로 시작하는 컴파일에 영향을 주는 이전 정보들을 삭제합니다.


 

distclean은 리눅스 커널소스인 .tar.gz 를 풀었을 때와 같은 상태로 만들어 주는 겁니다.


출처 :  http://forum.falinux.com/zbxe/?document_srl=517540

반응형

'나머지 > ETC' 카테고리의 다른 글

아웃룩 익스프레스6(Outlook Express)6 메시지 경로  (0) 2012.07.17
IMAP과 POP3 비교  (0) 2012.05.04
부트로더의 필요성과 종류  (0) 2012.04.09
부트로더 교육  (0) 2012.04.09
리눅스 tgz파일 압축풀기  (0) 2012.04.09