ubuntu kernel compile
Linux/Linux Kernel :
2014. 4. 30. 10:50
반응형
- 리눅스의 커널버젼 알아보기
$ uname -r
3.13.0-24-generic
- 우분투에서 apt-cache 으로 리눅스 커널 소스를 검색하기
$ sudo apt-cache search linux-source-*
linux-source - Linux kernel source with Ubuntu patches
linux-source-3.13.0 - Linux kernel source for version 3.13.0 with Ubuntu patches
- 우분투에서 apt-get 으로 커널 소스 다운받기
$ sudo apt-get install linux-source-3.13.0
- 받은 커널의 위치
- /usr/src 디렉토리 안에 있다.
drwxr-xr-x 4 root root 4.0K 4월 30 10:44 linux-source-3.13.0
lrwxrwxrwx 1 root root 47 4월 11 05:19 linux-source-3.13.0.tar.bz2 -> linux-source-3.13.0/linux-source-3.13.0.tar.bz2
$ tar -xjf linux-source-3.13.0.tar.bz2
- 커널 컴파일
$ make menuconfig
$ make
반응형
'Linux > Linux Kernel' 카테고리의 다른 글
Embedded Linux Kernel Low level debugging (0) | 2014.05.23 |
---|---|
ubuntu kernel compile (0) | 2014.04.30 |
Android Kernel compile 할때 arm-none-eabi-gcc: directory: No such file or directory 에러 (0) | 2013.03.14 |
다양한 spin_lock 함수들의 차이? (0) | 2013.02.26 |
댓글을 달아 주세요