diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-03-29 00:25:14 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-03-29 00:25:14 -0400 |
commit | a0dc3b8afc592b39c7948783952cd371c693640f (patch) | |
tree | 88951b3a3e59d1dd58a5b0fc39d266660f8b139c /recipes-kernel/linux/linux-omap-psp_2.6.32.bb | |
parent | 246cb75a970e9aab0a3974a55e72c6d90f1df151 (diff) | |
download | meta-ti-a0dc3b8afc592b39c7948783952cd371c693640f.tar.gz |
multi-kernel: fix get_kernelversion returns None for do_compileconfigs
The function get_kernelversion uses generated header files to extract the
version number. But those files are not available until do_compile, and
do_compileconfigs is injected before that, hence the version becomes None
and breaks in several places.
Introduce a new task do_preparekernel that calls "make prepare" in the
kernel tree to generate all the necessary files. It's also safer to call
do_configure early on.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-omap-psp_2.6.32.bb')
-rw-r--r-- | recipes-kernel/linux/linux-omap-psp_2.6.32.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-omap-psp_2.6.32.bb b/recipes-kernel/linux/linux-omap-psp_2.6.32.bb index 212a6e31..61fc24f0 100644 --- a/recipes-kernel/linux/linux-omap-psp_2.6.32.bb +++ b/recipes-kernel/linux/linux-omap-psp_2.6.32.bb | |||
@@ -1,5 +1,7 @@ | |||
1 | require multi-kernel.inc | 1 | require multi-kernel.inc |
2 | 2 | ||
3 | MULTI_CONFIG_BASE_SUFFIX = "" | ||
4 | |||
3 | DESCRIPTION = "Linux kernel for OMAP processors" | 5 | DESCRIPTION = "Linux kernel for OMAP processors" |
4 | KERNEL_IMAGETYPE = "uImage" | 6 | KERNEL_IMAGETYPE = "uImage" |
5 | 7 | ||
@@ -9,7 +11,7 @@ COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3 | |||
9 | SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155" | 11 | SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155" |
10 | 12 | ||
11 | # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc | 13 | # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc |
12 | MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}" | 14 | MACHINE_KERNEL_PR_append = "c+gitr${SRCREV}" |
13 | 15 | ||
14 | SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \ | 16 | SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \ |
15 | file://0001-Revert-omap3-beagle-Fix-compile-time-errors.patch \ | 17 | file://0001-Revert-omap3-beagle-Fix-compile-time-errors.patch \ |