1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-27 14:28:05 +00:00

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>
This commit is contained in:
Denys Dmytriyenko
2012-03-29 00:25:14 -04:00
parent 246cb75a97
commit a0dc3b8afc
2 changed files with 12 additions and 3 deletions
@@ -1,5 +1,7 @@
require multi-kernel.inc
MULTI_CONFIG_BASE_SUFFIX = ""
DESCRIPTION = "Linux kernel for OMAP processors"
KERNEL_IMAGETYPE = "uImage"
@@ -9,7 +11,7 @@ COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3
SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155"
# The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
MACHINE_KERNEL_PR_append = "b+gitr${SRCREV}"
MACHINE_KERNEL_PR_append = "c+gitr${SRCREV}"
SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=master \
file://0001-Revert-omap3-beagle-Fix-compile-time-errors.patch \