ada3807556d7990a1b760f27305078522858dac1
[kernel-bfs] / kernel-bfs-2.6.28 / debian / README.Debian
1 Extended kernel-sources for Nokia N900
2 --------------------------------------
3
4 * Downloading the sources:
5
6  apt-get source kernel-power
7
8 * Building the kernel packages:
9
10  DEB_BUILD_OPTIONS="parallel=2" dpkg-buildpackage -r"fakeroot -u" -uc -us -nc
11
12 * Creating new kernel sources:
13
14  dpkg-buildpackage -sa -S
15
16 * Modifying the kernel configuration:
17
18 in the kernel top directory do:
19  cp debian/rx51power_defconfig .config
20  make menuconfig
21  cp .config debian/rx51power_defconfig
22  make mrproper
23 and the rebuild it again
24
25 * Creating new patches:
26
27 This package uses quilt to maintain patches.
28
29  export QUILT_PATCHES=debian/patches
30
31 then before modifying your kernel: 
32  quilt push -a
33
34 starting a new patch:
35  quilt new mypatch.diff
36
37 either:
38  quilt add file...  (files you plan to modify)
39 and edit the files
40
41 or:
42  quilt fold < patch.diff (if you have a patch)
43
44 finally:
45  quilt refresh --no-timestamps --no-index
46 to create or update your patch
47
48 For more details read the quilt documentation.
49
50 Thomas Tanner <maemo@tannerlab.com>