R&D/OS

특정 모듈만 컴파일 하기

sunshout 2014. 1. 10. 19:04

ㅇ Linux에서 특정 모듈만 컴파일 하고 싶을 때


make modules SUBDIRS=net/mac80211


ㅇ Ubuntu에서 커널 소스를 다운로드 받고 싶을 때

apt-get source linux-image-$(uname -r)



ㅇ KVM module 만 컴파일 하고 싶을 때

make modules SUBDIRS=arch/x86/kvm