diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-03-30 01:54:27 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-03-30 01:54:27 -0400 |
commit | c5bb2de92249f802c7a038401b696be9c636895a (patch) | |
tree | 54c5a44f9ba79a0c3d02b4c58c5056c5f8d4c0de /recipes-kernel | |
parent | f02d5e79064f09100b430644a92fe7d2e1418bcd (diff) | |
download | meta-ti-c5bb2de92249f802c7a038401b696be9c636895a.tar.gz |
multi-kernel: add a comment on the addition of preparekernel task
As suggested by Richard:
https://lists.yoctoproject.org/pipermail/meta-ti/2012-March/000869.html
While at it, reformat the header.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/multi-kernel.inc | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/recipes-kernel/linux/multi-kernel.inc b/recipes-kernel/linux/multi-kernel.inc index 056adb97..04bc9873 100644 --- a/recipes-kernel/linux/multi-kernel.inc +++ b/recipes-kernel/linux/multi-kernel.inc | |||
@@ -1,14 +1,24 @@ | |||
1 | # This .inc file allows you to build and deploy multiple sets of kernel + modules with different defconfigs | 1 | # This .inc file allows building and deploying multiple sets of kernel + modules |
2 | # with different defconfigs | ||
2 | # | 3 | # |
3 | # Note that this include will NOT stage anything nor create packages, since that is virtually impossible | 4 | # Note that this include will NOT stage anything nor create packages, since that |
4 | # Userspace should be built against the 'regular' kernel | 5 | # is virtually impossible. Userspace should be built against the 'regular' kernel |
5 | # | 6 | # |
6 | # The intended usecase is for machines that have mutually exclusive drivers due to e.g. pinmuxing issues. | 7 | # The intended usecase is for machines that have mutually exclusive drivers due |
7 | # For example the LogicPD omap-l138 experimenter board can have multiple mutually exclusive expansion boards | 8 | # to e.g. pinmuxing issues. For example the LogicPD omap-l138 experimenter board |
8 | # like lcd, ethernet, sound, 20x2 character LCD, etc. To be able to easily test all of those you can use this .inc | 9 | # can have multiple mutually exclusive expansion boards like lcd, ethernet, |
10 | # sound, 20x2 character LCD, etc. To be able to easily test all of those you can | ||
11 | # use this .inc | ||
9 | # | 12 | # |
10 | # To make it easier finding the original defconfig from a running kernel, this also forcefully turns on | 13 | # To make it easier finding the original defconfig from a running kernel, this |
11 | # CONFIG_IKCONFIG_PROC so people can do 'zcat /proc/config.gz' on the target. | 14 | # also forcefully turns on CONFIG_IKCONFIG_PROC so people can do |
15 | # 'zcat /proc/config.gz' on the target. | ||
16 | # | ||
17 | # The function get_kernelversion uses generated header files to extract the | ||
18 | # version number. But those files are not available until do_compile, and | ||
19 | # do_compileconfigs is injected before that, hence the version becomes None | ||
20 | # and breaks in several places. Introduce a task do_preparekernel that calls | ||
21 | # "make prepare" in the kernel tree to generate all the necessary files. | ||
12 | 22 | ||
13 | require linux.inc | 23 | require linux.inc |
14 | 24 | ||