「Linuxカーネルビルドメモ」の編集履歴(バックアップ)一覧に戻る

Linuxカーネルビルドメモ - (2014/04/29 (火) 11:32:17) の編集履歴(バックアップ)


2014/04/29

$ cat /etc/debian_version 
7.5
上で、.configは
/boot/config-3.2.0-4-686-pae
を使用。

なお、現在のカーネルバージョンは
$ uname -a
Linux dyna 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3 i686 GNU/Linux

$ tar Jxf linux-3.14.2.tar.xz
$ cd linux-3.14.2/
$ make mrproper
$ cp /boot/config-3.2.0-4-686-pae .config
$ make olddefconfig
$ make menuconfig
=> General setup -> <*> Kernel .config support
=> General setup -> [*]   Enable access to .config through /proc/config.gz

$ which make-kpkg
$ which apt-file
$ sudo apt-get install apt-file
$ apt-file update
$ apt-file search bin/make-kpkg
kernel-package: /usr/bin/make-kpkg
$ sudo apt-get install kernel-package

$ make-kpkg clean
$ echo "$CONCURRENCY_LEVEL"

$ export CONCURRENCY_LEVEL=2
$ echo "$CONCURRENCY_LEVEL"
2
$ time make-kpkg --initrd --revision=20140429 kernel_image kernel_headers

参考